StarDot Knowledge Base

Can I FTP to multiple FTP servers?

Article ID: 117
Last updated: 11 Jun, 2020

Although not supported, it is possible. The method varies slightly with cameras and video servers. This is considered advanced and should not be attempted by anyone not accustomed to manually editing files/scripts. Please ensure that you have the latest firmware before making any changes.

NetCam:

Log in to your camera here:


And click on "Manual Config". In the list of files, look for ftp0.scr and click on "Edit".  Copy the existing lines and paste under "quit".  

timeout 120
open example.com
user username password
passive
ascii
put /var/httpd/ip.html ip.html.tmp
rename ip.html.tmp ip.html
binary
put /dev/video/jpeg0 camera0.jpg.tmp
rename camera0.jpg.tmp camera0.jpg
quit

timeout 120
open example2.com
user username password
passive
ascii
put /var/httpd/ip.html ip.html.tmp
rename ip.html.tmp ip.html
binary
put /dev/video/jpeg0 camera0.jpg.tmp
rename camera0.jpg.tmp camera0.jpg
quit

Edit it for the new server and click on "Save". When done saving, click on "Save configuration files".  To test the script, you can telnet to your camera's IP address and run:

ftpscript ftp0.scr

This will run the script real time where you can monitor for errors.

WARNING - If you make any changes in the FTP section in the camera's configuration you will overwrite your custom file.

Video Server:

Same method as above except that each camera has it's own FTP file and each will need to be edited.

Camera 1 = ftp0.scr
Camera 2 = ftp1.scr
Camera 3 = ftp2.scr
Etc.

Article ID: 117
Last updated: 11 Jun, 2020
Revision: 1
Access: Public
Comments: 0
Also listed in