NETWORK ~ FTP Protocol 📂

 

    The File Transfer Protocol (FTP) is a client/server protocol used to transfer or exchange files with a host computer.

    The client can be authenticated with a user name and password. Anonymous FTP allows users to access files without the need for a user ID or password.

    Websites are sometimes designed to allow users to use "anonymous" or "guest" as a user ID and an email address as a password. Publicly accessible files are often found in a directory called "pub" and can easily be sent via FTP to a user's computer. FTP is also the Internet standard for moving or transferring files from one computer to another over TCP or IP networks.

FTP port:

    Since FTP is different from other client-server applications, it establishes two connections between the communicating hosts. One connection for data transfer, and the other for control (command and response). FTP is more efficient than other client-server applications because it has a different connection for data and commands.

The FTP protocol establishes a control connection on TCP port 21 and a data connection on TCP port 20.

FTP commands:

CommandDescription
                                USER         ====>            Identify yourself to the server
                                PASS          ====>            Authenticate with the server
                                CWD          ====>            Change working directory
                                PWD          ====>            Print working directory
                                MKD          ====>
            Make a directory
                                RMD          ====>            Remove a directory
                                DELE         ====>            Delete a file
                                RNFR        ====>            Rename from
                                RNTO        ====>            Rename to
                                LIST          ====>            List files in a directory
                                RETR        ====>            Retrieve a file from the server
                                STOR        ====>            Store a file on the server
                                SYST         ====>            Show server system type
                                QUIT        ====>            Close the connection

 

THANK YOU for reading

You Tech 56

Follow us on social medias: linktr.ee/youtech56

Comments

Popular Posts