Contents » Using WinSCP » Guides » Scripting/Automation »

Automating FileZilla

The FileZilla client does not support any kind of automation.

Though you can use WinSCP to easily script your FileZilla sites.

Importing FileZilla Site

Use the Import Sites command to import your FileZilla site to WinSCP.

Once the site is imported, use the Generate Session URL/Code command to generate a script or a .NET assembly code (C#, VB.NET or PowerShell) for the site.

Directly Referring to FileZilla Site in Script

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.

Use the -filezilla switch of the open command:

# 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.

Automating File Transfers

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.

Further reading

 
  guide_filezilla_automation.txt · Last modified: by martin
 

Search Documentation

This page

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

Associations

Site design by Black Gate