Do you always have a need to transfer files to a web server? If yes, then you should know that there is one component in the world of Internet and technology that helps you in this category – FTP or File Transfer Protocol.
Fine, you’ve been hearing a lot about FTP and even saw tons of articles about useful FTP commands. The question now is how much do you know about FTP. Or if you’re asked “what is file transfer protocol,” can you give a categorical answer.
What is File Transfer Protocol
File Transfer Protocol
In simple terms, FTP is a protocol used to transfer files from one computer to another, or specifically from one computer to a web server. It was first used in military and scientific research network, Arpanet, but over the years, FTP has evolved into a protocol for wider applications on the World Wide Web.
In fact, it is the easiest way to upload files to a server or download a file from a server using the Internet. At the same time, you can also delete, rename, move and copy files at a server through FTP. This is because FTP uses TCP or transmission control protocol, and IP or internet protocol for its upload and download tasks.
Objectives Of FTP
- Promote the sharing of computer files, programs and/or data
- Transfer data in a more efficient, convenient and reliable manner
- Promote indirect or implicit use of remote computers
- Protect the user from variations in file storage systems among hosts.
Understanding File Transfer Protocol is not exactly rocket science. But thanks to this article, at least now you know what FTP is and how it works, right?
How Does File Transfer Protocol Work ?
Remember the TCP and IP mentioned? These two components are what help the FTP in facilitating the exchange of large files of information from one computer to another through the Internet.
As the client, you make a TCP control connection to the FTP server’s port 21 which remains open all throughout the transfer process. Then the FTP server will open a second connection, which is the data connection from the server’s port 20 to your computer.
As a result, your computer will communicate with the port number and will standby to receive the data from the controller and IP address to which you want your files to be transferred.
Pretty simple, right?