To use the ftp program, type ftp at a console prompt. You should be put into an FTP shell that looks like this:
To get a list of commands, type help. To get a simple description of any command, type help command. This guide will only cover a fraction of these commands; read about the rest in the ftp man page.
22.214.171.124. Connecting to an FTP server
To log in to an ftp server, use the open command. The syntax is open ftp.server.comport Where ftp.server.com is the FTP server you wish to connect to. It is not necessary to specify a port with this command unless you are connecting to a non-default port. The default port for FTP is port 21. Alternatively, you can connect to an FTP server as you start the ftp program. To do this, use the syntax ftp ftp.server.com portftp.server.comport Where the port option is, again, optional.