filezilla.exe -u “c:\ftp\TestFile.txt” ftp://ftp_user:ftp_password@ftp_host_ip/folderpath -close
Filezilla can be scripted. If you're using Windows, it's built-in FTP can also be scripted.
Just put together a script that moves the file to all the desired hosts and run it when you update the index file.
When you want to automate tasks with programs that accept command line arguments, scripting is how you do it.
You will need the following information:
- The full path to the file you wish to upload.
- The username, password, server IP address or domain name, and folder path to the files that need to be updated.
The "Remote Site" is for if you've set up a connection profile for each server in FileZilla. You can call the connection profile by name and thus avoid having to enter the username, password, server, and path for each connection. Looking at the documentation though, I think entering the information is easier and more clear.
In FileZilla, create a connection profile for each server you wish to upload the file to.
Open Notepad. Enter the following text changed for your specific settings and needs. Save the file as (whatever name you want).bat.
filezilla.exe -u "<full path to the file on your computer>" ftp://username:password@server/path -close
Add as many copies of this line as you need: one for each of the files you're updating.
Bob's answer shows how you can use loops and a source file to automate much of this process. It's a lot more difficult to understand the syntax of the loops, but his solution does the same thing and may be easier to manage if you have to update a large number of servers.