Opened 19 years ago
Last modified 16 years ago
#2317 closed Feature request
Command line features
Reported by: | jochenwezel | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | jochenwezel, elsapo, Tim Kosse | |
Component version: | Operating system type: | Windows | |
Operating system version: | windows 7 |
Description
Would be great if I could invoke Filezilla from command
line to do some copy, e. g. like following:
To backup some files:
filezilla.exe --copy "MyConnection" /backups/*.*
e:\backups\
Or to publish files:
filezilla.exe --copy "MyConnection"
e:\website\*.* /cygdrive/c/inetpub/wwwroot/
Change History (6)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Oops, clicked <enter> too quickly: in fact, those options I
listed below are available in the release versions of
FileZilla already -- they were included into the cvs trunk
some time ago.
comment:3 by , 19 years ago
Is there a complete list of command line syntax somewhere?
I've found a little bit in the documentation here on sourceforge,
some additional you wrote here, some in the FAQ...
Please could you arrange to provide a documentation page or
help page with complete command line descriptions?
Second, the syntax I've found requires to specify a complete
server address with username and password. I'd like to use
the existing settings which already contain all these values.
Is this possible, too?
Here is the most complete command line syntax for filezilla
client:
http://sourceforge.net/docman/display_doc.php?
docid=24746&group_id=21558:
What are the command line options supported by FileZilla?
You can append ftp server addresses to the command line of
FileZilla. Valid addresses would be from the form [([s]
ftp|ftps):][user[:pass]@]host[:port]path Example:
ftp://root:secretpw@filezilla.sourceforge.net/htdocs/
http://filezilla.sourceforge.net/cmdline.htm:
FileZilla does support some basic command line options. The
supported options are:
URL
You can specify a URL FileZilla 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.
Example:
filezilla.exe -u "c:\Program File\FileZilla\FileZilla.exe"
ftp://user:pass@ftp.myserver.com/upload -t CoolProg.exe
/close
(That makes the GUI close after the transfer completes.)
/overwrite
(That makes it overwrite files without prompting the user.)
comment:4 by , 19 years ago
Keep in mind that FileZilla has not been designed to be
operated automatically, after all it's a GUI client.
I might write a console ftp client after the release of
FileZilla 3.
comment:5 by , 19 years ago
Year, this would be great :)
But it doesn't have to be a completely separate client
application. You only need to add some parameters to the
exisiting, available syntax. (see my sample, maybe also
a "/y" to answer with yes respectively overwrite always)
comment:6 by , 16 years ago
Operating system type: | → Windows |
---|---|
Operating system version: | → windows 7 |
I have spent over 40 hours looking for a good backup solution. It wasn't until a minute ago that i considered filezilla for the job. It does incremental backup, threads its self for 8x the speed, its fast. Bonkey takes around 30 minutes! to do an incremental backup to ftp with 4000 files while filezilla takes 21 seconds.
It would be great if someone who knows all of the commandline options would document the in the wiki. It would be awesome to have filezilla configured to back up periodically.
You can already do this. I do this regularly.
In fact I submitted patches for a couple additional
commandline switches which are useful when invoking
FileZilla automatically:
/close
(That makes the GUI close after the transfer completes.)
/overwrite
(That makes it overwrite files without prompting the user.)