Command-line arguments (Client)

From FileZilla Wiki
Jump to navigationJump to search

FileZilla Client Command-Line Arguments

Synopsis

filezilla [<FTP URL>]
filezilla -s
filezilla -c <site>
filezilla -u <local file> <FTP URL> [--overwrite]

Options

  • <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 ommitted), ftps://, ftpes:// and sftp://

  • -s, --sitemanager

Start with Site Manager opened. May not be used together with -c nor with URL parameter.

  • -c, --site

Connect to the given site from the Site Manager. 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: 0/foo/bar/sl\/ash connects to the user site sl/ash in the site directory foo/bar Start with Site Manager opened. May not be used together with -s nor with URL parameter. May not be used together with -c nor with URL parameter.----

  • -u <file>

Upload a file to the server, e. g.

filezilla -u "c:\download\myfile.zip" UserID:Password@IPAddress:990/myfolder/newfile.zip --overwrite
filezilla -u "c:\download\myfile.zip" UserID:Password@IPAddress:990/myfolder/newfile.zip -t M20060623.MBR -overwrite
  • -t <file>

(parameter not yet clarified)

  • --overwrite

Answers security questions with overwrite.

  • --close (Windows only)

Closes all running instances of FileZilla.

Example

Cmdline argument example.png

If you want to connect from the command-line to the site named Backup server in the directory foo/bar, the command is:

filezilla -c "0/foo\/bar/Backup server"