is it possible to run FileZilla client via command line and be able to set server name, user, password, FTP protocol (e.g. FTPES, SFTP), port number? i looked online and can't seem to be able to find any such command. also, i am using windows 7, i am not sure if that somehow has a smaller set of commands. thanks.
2 Answers
You can use some command-line arguments for FileZilla, but as far as i know, it's principally a GUI FTP client.
Otherwise, Windows have a bundled command line FTP client (FTP.exe)
-
2This is the right answer, but the Windows FTP client sucks so bad it doesn't support Passive mode. So if you're behind a firewall, or if the server is, chances you wont be able to get/put files. Communications will probably work though since FTP uses a different channel for that. So you can connect and change directories, but not get/put files. Awesome.– John B ♦Commented Sep 16, 2011 at 18:49
-
2I'm currently modifying FileZilla (it is opensource after all) to be more commandline friendly. e.g. connect to server, set local and remote paths, and queue files for upload. When I'm finished I submit a patch back the project.– DennisCommented Aug 23, 2012 at 21:40
You can use ncftpput
. ncftpput
supports command-line file upload and it has other commands.
ex: ncftpget
, ncftpls
, and support auto create file folder.