Join 60,000+ competitive exam aspirants
Which of the following is a correct pairing of an Internet service and its primary function?
FTP: Transferring files between computers
SMTP: Browsing web pages
HTTP: Sending emails
DNS: Providing secure login credentials
FTP: Transferring files between computers
File Transfer Protocol (FTP) is a standard network protocol used for the transfer of computer files between a client and a server on a computer network. It operates on the application layer of the OSI model and relies on a separate control connection and data connection to manage file transfers.
RFC 959
File Transfer Protocol (FTP) is a standard network protocol used for the transfer of computer files between a client and a server on a computer network. It operates on the application layer of the OSI model and relies on a separate control connection and data connection to manage file transfers.
Throughput=Transfer┬аTimeTotal┬аData┬аSizeтАЛ тАФ measure of file transfer efficiency
FTP functions using a client-server architecture where the client initiates a request to the server. It uses two parallel TCP connections: the control connection (port 21) for commands and responses, and the data connection (port 20 or dynamic ports in passive mode) for the actual binary or ASCII data transfer.
FTP is inherently insecure as it transmits data and credentials in plaintext unless encrypted with SSL/TLS (FTPS).
Active mode FTP requires the server to initiate the data connection to the client, which often causes firewall issues.
Passive mode FTP requires the client to initiate both the control and data connections.
FTP supports various file types including ASCII (text) and Image (binary).
Supports resuming interrupted file transfers.
Allows simultaneous multiple file/directory transfers.
Lacks encryption by default, making it vulnerable to packet sniffing.
Requires high number of ports for passive mode, complicating firewall configurations.
Uploading website files to a hosting server.
Distribution of software packages in large repositories.
SMTP (Simple Mail Transfer Protocol) is used for sending emails (Port 25/587).
HTTP (Hypertext Transfer Protocol) is used for browsing web pages (Port 80/443).
DNS (Domain Name System) is used for mapping domain names to IP addresses (Port 53).
A is correct тАФ FTP (File Transfer Protocol) is specifically designed to facilitate the reliable transfer of files between a client and a server.
Remember that FTP operates on the Application Layer of the TCP/IP stack and uses two distinct TCP ports to manage communication and file transmission separately.