I update videos and images every 2 minutes on my site along with all my weather data using ftp. I have 3 cams and create a time lapse video from each at the top of every hour. To simplify things I bought this package:
https://www.scriptftp.com/ for $35. The author was very helpful and it was well worth the money.
I run the script with Windows Task Scheduler on a 2 minute schedule. This is what my script looks like: (X's are used for username and password)
______________________________________________________________________________
OPENHOST("ftp.skunkbayweather.com","XXXXXXXXX","XXXXXXXXXX")
SYNC("C:\VWS\root","/public_html/",UPLOAD,"vws*.jpg")
SYNC("C:\VWS\root","/public_html/",UPLOAD,"*.htm")
SYNC("C:\VWS\root","/public_html/",UPLOAD,"*.html")
SYNC("C:\VWS\data\noaa","/public_html/",UPLOAD,"2017*.txt")
SYNC("C:\VWS\data\noaa","/public_html/",UPLOAD,"2018*.txt")
# ******************* Web Cam Updates ****************
# Cam 1 *******************
CHDIR("/public_html/Cam1")
# Time Lapse Videos
SYNC("\\Sbwcam1\c\WebcamVideo","/public_html/Cam1",UPLOAD,"Intraday_Video_1024x576_Cam1.mp4")
SYNC("\\Sbwcam1\c\WebcamVideo","/public_html/Cam1",UPLOAD,"Video_1024x576_Cam1.mp4")
# Create file for upload
EXEC("copy \\Sbwcam1\c\Webcam\WebCamImage\thumb1.jpg c:\FTPScripts\Cam1\Cam1_1024x576.jpg")
EXEC("copy \\Sbwcam1\c\Webcam\WebCamImage\olympusCam1.jpg c:\FTPScripts\Cam1\Cam1_1920x1080.jpg")
# Sync it...
SYNC("c:\FTPScripts\Cam1","/public_html/Cam1",UPLOAD,"Cam1_1024x576.jpg")
SYNC("c:\FTPScripts\Cam1","/public_html/Cam1",UPLOAD,"Cam1_1920x1080.jpg")
# Cam 2 *******************
CHDIR("/public_html/Cam2")
# Time Lapse Videos
SYNC("\\Sbwcam2\c\WebcamVideo","/public_html/Cam2",UPLOAD,"Intraday_Video_1024x576_Cam1.mp4")
SYNC("\\Sbwcam2\c\WebcamVideo","/public_html/Cam2",UPLOAD,"Video_1024x576_Cam1.mp4")
# Create file for upload
EXEC("copy \\Sbwcam2\c\Webcam\WebCamImage\thumb1.jpg c:\FTPScripts\Cam2\Cam2_1024x576.jpg")
EXEC("copy \\Sbwcam2\c\Webcam\WebCamImage\olympusCam1.jpg c:\FTPScripts\Cam2\Cam2_1920x1080.jpg")
# Sync it...
SYNC("c:\FTPScripts\Cam2","/public_html/Cam2",UPLOAD,"Cam2_1024x576.jpg")
SYNC("c:\FTPScripts\Cam2","/public_html/Cam2",UPLOAD,"Cam2_1920x1080.jpg")
# Cam 3 *******************
CHDIR("/public_html/Cam3")
# Time Lapse Videos
SYNC("\\HPDEV\c\WebcamVideo","/public_html/Cam3",UPLOAD,"Intraday_Video_1024x576_Cam1.mp4")
SYNC("\\HPDEV\c\WebcamVideo","/public_html/Cam3",UPLOAD,"Video_1024x576_Cam1.mp4")
# Create file for upload
EXEC("copy \\HPDEV\c\Webcam\WebCamImage\thumb1.jpg c:\FTPScripts\Cam3\Cam3_1024x576.jpg")
EXEC("copy \\HPDEV\c\Webcam\WebCamImage\olympusCam1.jpg c:\FTPScripts\Cam3\Cam3_1920x1080.jpg")
# Sync it...
SYNC("c:\FTPScripts\Cam3","/public_html/Cam3",UPLOAD,"Cam3_1024x576.jpg")
SYNC("c:\FTPScripts\Cam3","/public_html/Cam3",UPLOAD,"Cam3_1920x1080.jpg")
CLOSEHOST
____________________________________________________________________________________________
Hope this helps,
Greg