Share this article on

What is FTP?


FTP stands for File Transfer Protocol. The protocol specifications were written by Abhay Bhushan and published as Request for Comments (RFC) 114 in April 1971.

The File Transfer Protocol (FTP) is the standard network protocol used for the transfer of computer files between a client and server on a computer network. FTP is built on a client-server model architecture and uses separate control and data connections between the client and the server.

FTP command and usage


Command

Usage

ls List files on the remote server
get file Download file
mget file* Download multiple files. You can use wildcards (*) to download all files with specific filename pattern. For example mget *.log to will download all files with extension .log
put file Upload file
mput file* Upload multiple files. You can use wildcards (*) the same way they’re used with mget
cd Navigate to a path on the remote server. Example: cd /tmp/uploads
lcd Navigate to a path on the local server (your machine). Example: lcd /home/myuser
bin Choose binary mode for file transfer
ascii Choose ascii mode for file transfer
bye Exits the current session

Share this article on