The FileZilla client does not support any kind of automation.
Though you can use WinSCP to easily script your FileZilla sites.
- Importing FileZilla Site
- Directly Referring to FileZilla Site in Script
- Automating File Transfers
- Further reading
Use the Import Sites command to import your FileZilla site to WinSCP.
Alternatively, you can directly refer to the FileZilla site from the WinSCP script, if you want to maintain a possibility to manage the site settings from FileZilla.
# Open FileZilla site open -filezilla "My Site" # Change the remote directory # Upload the file to user's home directory put d:\examplefile.txt /home/user
This is not recommended though as you rely on a configuration stored in your Windows account profile. For this reason the script is not portable.
Once you have a connection established, you can follow a generic guide to automating file transfers with WinSCP.
Or you can even have WinSCP generate a full file transfer script or code for you.