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

From FileZilla Wiki
Jump to navigationJump to search
(Jonalene)
m
 
(69 intermediate revisions by 58 users not shown)
Line 1: Line 1:
I’m a long time watcher and I just bieeevld I’d drop by and say hello there for your very first time.I seriously enjoy your posts. ThanksYou are my role models. Thanks for the articlethank you for helpful tips and simply good infoi can agree with the articler u sure that is true?Not so bad. Interesting things herereally good things here, just thankshey buddy, this is a very interesting articleRead it, liked it, thanks for itI am looking for a competent writer, long time in this area. Excellent article!I have read not one article on your blog. You're a big ladThis is exactly what I was looking for, thanksThank you for your work. Article helped me a lotReally worthwhile article. Pay attentionHey, buddy, I have not figured out how to subscribeI am a long time ago I read your blog and has long been saying that you're a great writerSay thanks you to your parents that they gave you the worldIt's super blog, I want to be like youYou are my role models. Thanks for the articleBeautiful essay, got the pleasure of readingI found what I was looking for. great article, thanksSubscribed to your blog, thanksI can not figure out how do I subscribe to your blogThank you for what you have. This is the best post I've readI will not talk about your competence, the article simply disgustingYou just copied someone else's storyAll material copied from another sourceI'll complain that you have copied material from another sourceThis is the worst article of all, I've readYou are the worst writerThank you, this is the worst thing I've readReading this article  the gift of your timeLearn to write himself, the article from another sourceI would like to uslysht a little more on this topicI have not found what I wantedThis is a set of words, not an essay. you are incompetentif you want, I'll write you articles. Copywriter looking for workI have a few question to you, write to those I do not e-mailI can not subscribe to your channelBlog moved out in chromeHi! Your article rocks as well as being a legitimate wonderful understand!??I can??t really help but admire your blog site, your site is adorable and niceMy spouse and I stumbled over here different website and thought I should check things out.I like what I see so i am just following you. Look forward to exploring your web page yet again.There is noticeably a bundle to comprehend this. I assume you have made specific nice points in features also.Lately, I didn’t give lots of consideration to leaving feedback on blog page posts and have placed comments even much less.Reading by way of your nice content, will help me to do so sometimes.I’m a long time watcher and I just bieeevld I’d drop by and say hello there for your very first time.I seriously enjoy your posts. ThanksYou are my role models. Thanks for the articlethank you for helpful tips and simply good infoi can agree with the articler u sure that is true?Not so bad. Interesting things herereally good things here, just thankshey buddy, this is a very interesting articleRead it, liked it, thanks for itI am looking for a competent writer, long time in this area. Excellent article!I have read not one article on your blog. You're a big ladThis is exactly what I was looking for, thanksThank you for your work. Article helped me a lotReally worthwhile article. Pay attentionHey, buddy, I have not figured out how to subscribeI am a long time ago I read your blog and has long been saying that you're a great writerSay  thanks  you to your parents that they gave you the worldIt's super blog, I want to be like youYou are my role models. Thanks for the articleBeautiful essay, got the pleasure of readingI found what I was looking for. great article, thanksSubscribed to your blog, thanksI can not figure out how do I subscribe to your blogThank you for what you have. This is the best post I've readI will not talk about your competence, the article simply disgustingYou just copied someone else's storyAll material copied from another sourceI'll complain that you have copied material from another sourceThis is the worst article of all, I've readYou are the worst writerThank you, this is the worst thing I've readReading this article  the gift of your timeLearn to write himself, the article from another sourceI would like to uslysht a little more on this topicI have not found what I wantedThis is a set of words, not an essay. you are incompetentif you want, I'll write you articles. Copywriter looking for workI have a few question to you, write to those I do not e-mailI can not subscribe to your channelBlog moved out in chromeHi! Your article rocks as well as being a legitimate wonderful understand!??I can??t really help but admire your blog site, your site is adorable and niceMy spouse and I stumbled over here different website and thought I should check things out.I like what I see so i am just following you. Look forward to exploring your web page yet again.There is noticeably a bundle to comprehend this. I assume you have made specific nice points in features also.Lately, I didn’t give lots of consideration to leaving feedback on blog page posts and have placed comments even much less.Reading by way of your nice content, will help me to do so sometimes.
+
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)]].
 +
If you are looking for a command-line version of FileZilla, check out [https://filezillapro.com/cli/ FileZilla Pro CLI].
 +
 
 +
== 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 -a, --local=<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]
 +
eg. sftp://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>
 +
 
 +
 
 +
*-a, --local=&lt;string&gt;
 +
<blockquote>
 +
Sets the local site (left-hand side) to the given path. '''(Requires version 3.7.1-rc1 or higher)'''
 +
<br /><br />
 +
Use double quotation for paths with spaces in them.
 +
<br /><br />
 +
 
 +
Example:
 +
<pre>filezilla --site="0/site1" --local="C:\site1 downloads"
 +
filezilla ftp://username:password@ftp.example.com --local="C:\server2 downloads"</pre>
 +
Connects to the user site "site1" and sets the local folder to '''C:\site1 downloads'''.
 +
 
 +
Connects to server2 URL and sets the local folder to '''C:\server2 downloads'''.
 +
 
 +
</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"

Latest revision as of 19:30, 6 March 2024

These are the command-line arguments for FileZilla Client. The Server command-line arguments can be found under Command-line arguments (Server). If you are looking for a command-line version of FileZilla, check out FileZilla Pro CLI.

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 -a, --local=<string>
filezilla --close
filezilla --verbose
filezilla -v, --version

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

  • -h, --help

Shows the help dialog.

  • -s, --sitemanager

Start with opened Site Manager.

May not be used together with -c nor with URL parameter.

  • -c, --site=<string>

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/foo/bar/sl\/ash"

Connects to the user site "sl/ash" in the site directory "foo/bar".


  • -l, --logontype=(ask|interactive)

Logon type, can only be used together with FTP URL. Argument has to be either 'ask' or 'interactive'.

FileZilla will ask for any logon information not supplied in the FTP URL before connecting. Useful for custom scripts or shortcuts.


  • -a, --local=<string>

Sets the local site (left-hand side) to the given path. (Requires version 3.7.1-rc1 or higher)

Use double quotation for paths with spaces in them.

Example:

filezilla --site="0/site1" --local="C:\site1 downloads"
filezilla ftp://username:password@ftp.example.com --local="C:\server2 downloads"

Connects to the user site "site1" and sets the local folder to C:\site1 downloads.

Connects to server2 URL and sets the local folder to C:\server2 downloads.


  • --close (Windows only)

Closes all running instances of FileZilla.

  • --verbose

Verbose log messages from wxWidgets.

  • -v, --version

Print version information to stdout and exit.

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"