How do I automate my FTP uploads with a script?

If you are using an FTP client, it may offer configuration tools. If you would like to create your own batch file utility, use the following template to perform FTP uploads automatically:

 

 

ftp -s:%0

open [yoursite.smartfile.com] (your SmartFile URL)

[username] (your login username)

[password] (your login password)

cd /[folder] (change to specified folder if necessary)

binary

quote PASV

put [C:\LocalFolder\File1.pdf] (path and name of local file to upload)

close

bye

 

 

Have more questions? Submit a request

Comments