Software How-to Tutorials and Reviews - FreshShare Editor's Blog
Search:
You are here: Home > How-to Tutorials

How to transfer files with FileZilla from command line (CLI)?

FileZilla is a free, fast, open source, cross-platform FTP/SFTP client that allows you to transfer files between Web sites and PCs. It also supports for command line interface(CLI). If you have many files and want to upload then to a ftp server from command line in batch, these are the command-line arguments for FileZilla Client.

FileZilla command line usage

filezilla [-h] [-s] [-c "str"]
  [l "str"] [--close] [--verbose]
  [-v] [FTP URL]

FileZilla command line parameters

  • -h, --help
  • Shows the help information.

  • -s, --site-manager
  • Start with opened Site Manager

  • -c, --site="str"
  • Connect to specified Site Manager site. Site name requirements:

    • Site has to be given as complete path, with a slash as separation character.
    • Any slash or backslash that is part of a segment has to be escaped with a backslash.
    • Path has to be prefixed with 0 for user defined entries or 1 for default entries.
    • Site path may not contain double quotation marks.

    Example:

    filezilla --site="0/ftp/freshshare/sl\/ash"

    Connects to the user site "sl/ash" in the site directory "ftp/freshshare"

  • -l, --logontype=(ask|interactive)
  • Logon type, can only be used together with FTP URL. Argument has to be either 'ask' or 'interactive'.

  • --close (Windows only)
  • Closes all running instances of FileZilla.

  • --verbose
  • Verbose log messages from wxWidgets.

  • -v, --version
  • Print version information to stdout and exit.

  • FTP URL
  • Accepts all URLs of the form

    [protocol://][user[:pass]@]host[:port][/path]
    eg.  sftp://username:password@server:port

    Valid protocols are ftp:// (the default if omitted), ftps://, ftpes:// and sftp://

Other resources about FileZilla

Author: , Freshshare Blog



#1  posted on Sep 03, 2012 03:01
Hello,

I read this article: http://www.ergotaxio.net/2012/09/03/speed-up-ftp-uploads/ where it is possible to FTP a zip file, that say a CMS too, and send a command to unzip it as the upload is over.
I wonder if and how that is possible with the actual version of Filezilla.

Thank you.

#2  posted on Nov 12, 2012 02:28
and how do i specify which file i want to be uploaded after filezilla starts ???

#3  posted on Jan 05, 2013 03:34
How can I download a file using Filezilla from command line?
thanks in advance

Leave your comment
If you want to leave your comment on this article, simply fill out the next form:
Name: * Requirement
E-mail: Optional (won't be published)
Website / Blog: Optional
Are you a human? For anti spammer, please calculate following expression:
2 x 1 + 3 = * Requirement
Comment:
* Requirement
You can use these tags:
[b] Text [/b]: Bold text
[quote] Text [/quote]: Quote text