I am using FileZilla (GUI) to download files from an FTP server. Can any one tell me a command line argument to download file from FTP server to local file system?
FileZilla does not have any command line arguments (nor any other way) that allow automatic transfer.
FileZilla Client command-line arguments
Though you can use any other FTP client that allows automation.
ftp.exedoes not support a passive mode, what makes it useless nowadays, when connecting over Internet due to ubiquitous firewalls and NATs.
WinSCP: You can automatically make it download a file both in GUI and scripting mode
winscp.exe ftp://user:[email protected]/path/file.ext
You will get a dialog, where you select a directory to download the file to.
Scripting (put the command to a
winscp.com /command ^ "open ftp://user:[email protected]/" ^ "get /path/file.ext c:\" ^ "exit"
The WinSCP can even generate a script from an imported FileZilla session.
For details, see a guide to FileZilla automation.
(I’m the author of WinSCP)
Answered By – Martin Prikryl
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0