Command-line arguments (Client): Difference between revisions

From FileZilla Wiki
Jump to navigationJump to search
(links/go.txt;25;25)
m (Reverted edits by 79.142.69.69 (Talk) to last revision by CodeSquid)
Line 1: Line 1:
These are the command-line arguments for [[FileZilla FTP Client|FileZilla Client]]. The Server command-line arguments can be found under [[Command-line arguments (Server)]].
These are the command-line arguments for [[FileZilla FTP Client|FileZilla Client]]. The Server command-line arguments can be found under [[Command-line arguments (Server)]].


links/go.txt;25;25
== FileZilla Client command-line arguments ==
 
=== Synopsis ===
 
filezilla [<FTP URL>]
filezilla -s
filezilla -c <site>
 
=== Options ===
 
*<FTP URL>
<blockquote>
Accepts all URLs of the form
 
<pre>[protocol://][user[:pass]@]host[:port][/path]
eg.  sftp://username:password@server:port</pre>
 
Valid protocols are '''ftp://''' (the default if ommitted), '''ftps://''', '''ftpes://''' and '''sftp://'''
</blockquote>
*-s, --sitemanager
<blockquote>
Start with Site Manager opened.
May not be used together with -c nor with URL parameter.
</blockquote>
 
*-c, --site
<blockquote>
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
</blockquote>
 
*--close ''(Windows only)''
<blockquote>
Closes all running instances of FileZilla.
</blockquote>
 
=== Example ===
 
[[Image: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"

Revision as of 11:20, 15 January 2011

These are the command-line arguments for FileZilla Client. The Server command-line arguments can be found under Command-line arguments (Server).

FileZilla Client command-line arguments

Synopsis

filezilla [<FTP URL>]
filezilla -s
filezilla -c <site>

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

  • --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"