The FileZilla team often recommends lftp for Linux and macOS users because it supports the same protocols (FTP, SFTP, FTPS) and is built for the terminal.
Sometimes you don't want to execute the download in the terminal, but you want to open FileZilla and have it connect to a specific site automatically. filezilla sftp://username:password@host:port/remote/path Use code with caution. Open FileZilla using a pre-defined Site Manager entry: filezilla --site="0/MyWorkServer" Use code with caution. filezilla command line download file examples
fzcli download --source "/remote/backups/" --destination "./local_backups/" --recursive Use code with caution. 2. Using "lftp" (The Power User’s Alternative) The FileZilla team often recommends lftp for Linux
lftp -u username,password sftp://hostname.com -e "get /remote/file.txt -o /local/path/; quit" Use code with caution. Open FileZilla using a pre-defined Site Manager entry:
Below are examples of how to handle downloads using these command-line methods. 1. Using FileZilla Pro CLI
Use fzcli (FileZilla Pro CLI).
lftp -u username,password ftp://hostname.com -e "mirror /remote/folder /local/folder; quit" Use code with caution. 3. Using Standard SFTP (Built-in)