Page 1 of 1
Yawcam Image naming problem
Posted: Fri 25 Jun 2010 4:02 am
by Arnie
Hi to all
I have a webcam (very cheap one) and attempting to upload images every 30 seconds to my webpage (offline at present)
The link is
http://192.168.0.101:8888/update.html
This page is refreshing every 30 seconds however the image is not changing
I believe my problem might well be in the image names I am using
In Yawcam "File and also ftp" I am using /webcam_{num}.jpg
In my page I am using webcam_000.jpg and this is the picture that is shown in the link above
Can anyone please help me?
Re: Yawcam Image naming problem
Posted: Fri 25 Jun 2010 5:42 am
by hills
Can you ftp onto your website and do a directory listing (dir or ls) or use filezilla and check out what files are there. I believe if you're only uploading 1 image it will call it webcam_0.jpg or if you're uploading more than 10 but less than 100 it will call it webcam_00.jpg and will only call it webcam_000.jpg if your uploading more than 100. At least that's what it did for me.

Re: Yawcam Image naming problem
Posted: Fri 25 Jun 2010 6:00 am
by Arnie
Thanks Phil
Yawcam is definitely saving images to my pc every 30s
Those images are not being ftp'd to the website (I have checked this with FileZilla), only the first image_000.jpg is there.
At the moment I am trying to upload every 30s just to see if it works, eventually i will only upload the images every 5 mins maybe.
By the way I am impressed with your "roof work", Not for me though, I'm in a 2 storey and there is no way i am going onto that roof

Re: Yawcam Image naming problem
Posted: Fri 25 Jun 2010 9:52 am
by hills
Hmmm, is there an error message on your Yawcam console?
If you're only uploading one image, then you could always use Cumulus to send the copy on your PC to your website.

Re: Yawcam Image naming problem
Posted: Fri 25 Jun 2010 10:17 am
by Arnie
hills wrote:Hmmm, is there an error message on your Yawcam console?
Yes the "FTP error: Class Java.Net Socketexception connection reset by peer: socket
write error" msg I believe you have had this before Phil
hills wrote:If you're only uploading one image, then you could always use Cumulus to send the copy on your PC to your website.

I'm attempting to have a new updated image every 30s
Re: Yawcam Image naming problem
Posted: Fri 25 Jun 2010 11:43 am
by hills
That's right I do get it occasionally, but only once or twice a day at the most and it is successful after that. Are you getting it every attempt?
Perhaps try sending them at a greater interval as a test incase your trying to send an image while the last one is still sending??
Re: Yawcam Image naming problem
Posted: Sat 26 Jun 2010 5:49 am
by Arnie
Sorry for not replying sooner Phil
hills wrote:That's right I do get it occasionally, but only once or twice a day at the most and it is successful after that. Are you getting it every attempt?
After about every 7th attempt
hills wrote:Perhaps try sending them at a greater interval as a test incase your trying to send an image while the last one is still sending??
I have tried this but it does not make any difference
I now also have a ftp problem I believe
Getting a msg "UPNP: Port 8081/TCP unmapped"
Phil
What image file name have you given in Yawcam in both the File and Ftp sections, and also on your website?
Re: Yawcam Image naming problem
Posted: Sat 26 Jun 2010 10:39 am
by hills
These are the details I have used. (with a few details edited out

) I don't use the "file" option, I only save the files on my website.

Re: Yawcam Image naming problem
Posted: Sat 26 Jun 2010 11:39 am
by Arnie
Thanks for that Phil
I seem to have similar settings as you
however I am still getting the error
"Ftp Error: Class Java.net.SocketException connection reset by peer:socket write error"
Does anyone knows if there is a fix for this error?
Re: Yawcam Image naming problem (Update)
Posted: Sun 27 Jun 2010 3:42 am
by Arnie
I now have a much improved situation
http://www.wentworthvilleweather.com/Webcam/update.html
This link now at least shows where the image should be
However my problem is getting the image to the site
Yawcam is saving images every 270s as "/webcam000.jpg" " /webcam001.jpg" etc
When I look at Filezilla it seems that Yawcam is FTP' ing these file names to the website but the file size is only 1??
The files are updating as they should but the size of the file is the problem
I am still getting the FTP error msg but I don't believe it is actually doing any harm
Anybody with any thoughts please