Command-line arguments (Client): Difference between revisions

From FileZilla Wiki
Jump to navigationJump to search
m (Reverted edits by 80.153.24.159 (Talk) to last revision by CodeSquid)
Line 6: Line 6:
  filezilla -s
  filezilla -s
  filezilla -c <site>
  filezilla -c <site>
filezilla -u <local file> <FTP URL> [--overwrite]


=== Options ===
=== Options ===
Line 36: Line 35:
               May not be used together with -s nor with URL parameter.
               May not be used together with -s nor with URL parameter.
               May not be used together with -c nor with URL parameter.----
               May not be used together with -c nor with URL parameter.----
</blockquote>
*-u <file>
<blockquote>
Upload a file to the server, e. g.
<pre>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</pre>
</blockquote>
*-t <file>
(parameter not yet clarified)
*--overwrite
<blockquote>
Answers security questions with overwrite.
</blockquote>
</blockquote>



Revision as of 16:53, 4 September 2009

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

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