UNIX FTP Commands Tutorial
File Transfer Protocol or FTP is a network protocol used to copy a file from one computer to another over the Internet or LAN. The default port for ftp is 21 and is based on client-server architecture.
Use the following command syntax to connect to the FTP server:
ftp exampledomain.com or
ftp IP-address or
ftp user@domainname.com
To list the files, use the ls command.
To change directory, use cd <dir> command.
To download file:
get filename
get filename1 filename2
For downloading multiple files, use
mget *
mget *.*
To delete a file:
delete filename
To upload file:
put filename
mput *
Use it for uploading multiple files.
To create directory:
create dirname
To delete directory:
rmdir dirname
Use quit or bye command to exit from the FTP server.