Command-line arguments (Client)

From FileZilla Wiki
Revision as of 12:20, 16 June 2006 by Eddan (talk | contribs) (First draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

DRAFT

Unfinished page, saved for backup purposes.

FileZilla Client 2.x Command-Line Arguments

FileZilla Client does support some basic command line options, but as the program isn't meant to be a command-line application, only a small part of the functions are available through the command-line.

Synopsis

  • filezilla.exe <URL> [-du] ...
  • filezilla.exe -s <name of site in Site Manager> [-du] ...

Description

  • filezilla.exe <protocol>://<username>:<password>@<host>
    Used to connect to a host running a ftp server. Protocol can either be FTP:// or SFTP:// and host have the syntax <host address>:<port>.
  • filezilla.exe -s <name of site in Site Manager>
    Used to connect to a host that is defined in the Site Manager of the program. The name of the site is case sensitive.
  • filezilla.exe [-du] <sourcefile> <targetdir> [-t] <targetname>
    Used to download (-d) or upload (-u) a file from/to the host.

User Commands

The supported user commands are:

  • URL
    You can specify a URL FileZilla connect to when started.
  • -s <name of site in Site Manager>
    Specifies an already defined site in the Site Manager that FileZilla tries to connect to when started.
  • -d <sourcefile> <targetdir>
    Downloads the specified file from the server into the target dir.
  • -u <sourcefile> <targetdir>
    Uploads the specified file into the target dir on the server. <sourcefile> has to be the full path of the file..
  • -t <targetname>
    Only valid together with -u or -d: Specifies an alternate name for the target file..

Examples

  • filezilla.exe -s mySite
    Will connect to the site "mySite" (defined in the Site Manager) when FileZilla starts.
  • filezilla.exe -u "c:\Program File\FileZilla\FileZilla.exe" ftp://user:pass@ftp.myserver.com/foobar -t CoolProg.exe
    Will upload FileZilla.exe to the host (and directory "foobar") specified and give it the name "CoolProg.exe".