Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with FTP to my website

Status
Not open for further replies.

DLetho

Technical User
Mar 12, 2006
1
US
Hello ,

I wanted to know if anyone could help me take Jpeg images from my video server ( 9100A ) and FTP them to me site .

I want to have my live webcam update to my website . When I use my 9100A video server to do this it saves each Jpeg a different file name . It just keeps adding files to the folder and not over writting the last image . It seems to use the date/time as the file name .

Can you tell me how to get around this ? Or batter yet what I need to do ( script wise ) or what setting to take lets say an image every 3 second and ftp it to my website ?
Thank you so much for you time!
Don
 
You could use opendir to open the jpeg folder, readdir to get a list of the .jpg files (and closedir when done with the folder), then sort the array to find the newest jpeg image, and use Net::FTP to upload it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top