Linux Console / Shell

Connect to FTP server $ ftp, then enter username, password
use cd directory to change the remote directories on the server
ls to list the remote directory
pwd - print name of the current working directory on the remote machine
get remote-file to download a file (mget for multiple)
lcd directory to change the local directory
lpwd - print the local working directory
put local-file - upload a file (mput local-files - upload multiple files)
Can’t upload whole folders


Install with $ sudo apt install ftp-upload
Upload a whole folder by zipping it with zip, then upload with
$ ftp-upload -h -u username --password yourpassword -d FolderOnFTPServer

Leave a comment