FTP terminal command for dummies
Before starting you need a configured working FTP server.
To connect to remote FTP server you will need
- IP address of FTP server and port for Server default is 21
- User name for FTP account
- Password for FTP user
Connect to FTP from terminal
In terminal type
ftp server name or IP address
If domain name is different than default type server name / ip address followed by :portnumber (192.168.0.112:200)
Once you are connected to ftp server, it will ask for username and password, enter them as asked.
Transfer files from / to FTP server
Listing files on Server
Once connected check files available. To check you need to use list (ls) command.
Changing directories on server is simple just use cd command
Downloading files from remote ftp server requires to things – first you need to set up local download path and downloading files
to set local path use command lcd
If you have started ftp session from local directory into which you want to copy file, you can skip this step.
Finally to download file type
To upload files to remote ftp server you need to use command
similiar to downloading files you can change local directroy by using lcd command.
Disconnecting FTP connection
To disconnect working FTP session you can use bye/exit/quit command.
Other articles which will interest you