Difference between revisions of "Command-line arguments (Client)"

From FileZilla Wiki
Jump to navigationJump to search
m (Reverted edits by 223.134.123.25 (talk) to last revision by CodeSquid)
(NYhrfPjuCuPjAIsAxl)
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)]].
+
FTP stands for File Transfer Protocol. It is a meothd of transaction between your computer and a web serverWhat you need to upload items to a server is called a FTP client. In a basic way, the FTP client is a program similar to your Windows ExplorerYou will be able to see file folders on your hard drive, drag them to the FTP client and upload them. You will need to know your IP address for your serverWhen you subscribed to your hosting site, they should have given you an IP address. If not, contact them and ask for it.  This sounds a lot harder than it is.  You can find a few free FTP clients on the web. Use your search engines and type in FREE FTP Clients.  CuteFTP is a specific client you can check out. Type it into a search engine and read along. It's a down-loadable program from the net.  Some versions are free. At most, you would pay about $50 for it. Not bad at all.
 
 
== FileZilla Client command-line arguments ==
 
 
 
=== Synopsis ===
 
 
 
  filezilla [<FTP URL>]
 
  filezilla -h, --help
 
filezilla -s, --site-manager
 
filezilla -c, --site=<string>
 
filezilla -l, --logontype=<string>
 
filezilla --close
 
filezilla --verbose
 
filezilla -v, --version
 
 
 
=== Options ===
 
 
 
*<FTP URL>
 
<blockquote>
 
Accepts all URLs of the form
 
 
 
<pre>[protocol://][user[:pass]@]host[:port][/path]
 
egsftp://username:password@server:port</pre>
 
 
 
Valid protocols are '''ftp://''' (the default if omitted), '''ftps://''', '''ftpes://''' and '''sftp://'''
 
</blockquote>
 
 
 
*-h, --help
 
<blockquote>
 
Shows the help dialog.
 
</blockquote>
 
 
 
*-s, --sitemanager
 
<blockquote>
 
Start with opened Site Manager.
 
<br /><br />
 
May not be used together with -c nor with URL parameter.
 
</blockquote>
 
 
 
*-c, --site=&lt;string&gt;
 
<blockquote>
 
Connect to specified Site Manager site.
 
<br /><br />
 
Site name requirements:
 
<ul>
 
    <li>Site has to be given as complete path, with a slash as separation character.</li>
 
    <li>Any slash or backslash that is part of a segment has to be escaped with a backslash.</li>
 
    <li>Path has to be prefixed with 0 for user defined entries or 1 for default entries.</li>
 
    <li>Site path may not contain double quotation marks.</li>
 
</ul> 
 
   
 
 
 
Example:
 
<pre>filezilla --site="0/foo/bar/sl\/ash"</pre>
 
Connects to the user site "sl/ash" in the site directory "foo/bar".
 
 
 
 
 
</blockquote>
 
 
 
*-l, --logontype=(ask|interactive)
 
<blockquote>
 
Logon type, can only be used together with FTP URL. Argument has to be either 'ask' or 'interactive'.
 
<br /><br />
 
FileZilla will ask for any logon information not supplied in the FTP URL before connecting. Useful for custom scripts or shortcuts.
 
</blockquote>
 
 
 
*--close ''(Windows only)''
 
<blockquote>
 
Closes all running instances of FileZilla.
 
</blockquote>
 
 
 
*--verbose
 
<blockquote>
 
Verbose log messages from wxWidgets.
 
</blockquote>
 
 
 
*-v, --version
 
<blockquote>
 
Print version information to stdout and exit.
 
</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 13:47, 4 May 2012

FTP stands for File Transfer Protocol. It is a meothd of transaction between your computer and a web server. What you need to upload items to a server is called a FTP client. In a basic way, the FTP client is a program similar to your Windows Explorer. You will be able to see file folders on your hard drive, drag them to the FTP client and upload them. You will need to know your IP address for your server. When you subscribed to your hosting site, they should have given you an IP address. If not, contact them and ask for it. This sounds a lot harder than it is. You can find a few free FTP clients on the web. Use your search engines and type in FREE FTP Clients. CuteFTP is a specific client you can check out. Type it into a search engine and read along. It's a down-loadable program from the net. Some versions are free. At most, you would pay about $50 for it. Not bad at all.