Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

8.2.2. FTP on the command line

To use the ftp program, type ftp at a console prompt. You should be put into an FTP shell that looks like this:
ftp>
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.

8.2.2.1. Connecting to an FTP server

To log in to an ftp server, use the open command. The syntax is open ftp.server.com port 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 port ftp.server.com port Where the port option is, again, optional.

 
 
  Published under the terms of the Open Publication License Design by Interspire