FTP uses persistent TCP connections for control and non-persistent connections for data transfer, while HTTP can use both persistent and non-persistent TCP connections. FTP utilizes two ports - port 21 for commands and port 20 for transferring files, while HTTP uses various methods for transferring web pages over port 80. Key differences between the two protocols are FTP focuses on file transfer while HTTP focuses on web pages and uses TCP for transferring data versus HTTP using various methods.
FTP uses persistent TCP connections for control and non-persistent connections for data transfer, while HTTP can use both persistent and non-persistent TCP connections. FTP utilizes two ports - port 21 for commands and port 20 for transferring files, while HTTP uses various methods for transferring web pages over port 80. Key differences between the two protocols are FTP focuses on file transfer while HTTP focuses on web pages and uses TCP for transferring data versus HTTP using various methods.
FTP uses persistent TCP connections for control and non-persistent connections for data transfer, while HTTP can use both persistent and non-persistent TCP connections. FTP utilizes two ports - port 21 for commands and port 20 for transferring files, while HTTP uses various methods for transferring web pages over port 80. Key differences between the two protocols are FTP focuses on file transfer while HTTP focuses on web pages and uses TCP for transferring data versus HTTP using various methods.
FTP uses persistent TCP connections for control and non-persistent connections for data transfer, while HTTP can use both persistent and non-persistent TCP connections. FTP utilizes two ports - port 21 for commands and port 20 for transferring files, while HTTP uses various methods for transferring web pages over port 80. Key differences between the two protocols are FTP focuses on file transfer while HTTP focuses on web pages and uses TCP for transferring data versus HTTP using various methods.
Download as PPTX, PDF, TXT or read online from Scribd
Download as pptx, pdf, or txt
You are on page 1of 9
NETWORK
PROTOCOLS HTTP AND FTP PARAMETERS AND DIFFERENCES
Parameters FTP HTTP
FTP makes use of a persistent
HTTP can easily make use of connection of TCP for its both- persistent as well as the Type of TCP Connection control connection and a non- non-persistent type of TCP persistent one for its data connection. connection. . HyperText Transfer Protocol (HTTP) The term HTTP is a short form for HyperText Transfer Protocol. HTTP is basically the backbone of the world wide web (WWW). It is basically an internet standard that assists in the process of transferring various web pages all over the internet. HTTP helps in defining how a web browser responds to all of its web requests. All the web addresses of the web pages consist of a domain name and protocol along with their path to the main web page. A majority of the web addresses consist of http:// in their respective URLs that show the HTTP protocol. The working of HTTP is basically like the combined functions of SMTP and FTP. Also, HTTP makes use of the TCP File Transfer Protocol (FTP) The term FTP is a short form for File Transfer Protocol. FTP is a type of internet standard that basically allows different devices (computers) to upload as well as download data files on the internet. The FTP sites consist of various types of files (images, video, texts, graphics, etc.). The FTP files came into existence when data security was not the primary concern. FTP is now pretty old, and various news protocols have now replaced it. The FTP provides support for two types of Transmission Control Protocols (TCP)- the first one is the data port or data connection (port 20) for transferring files. The second one here is the command port or control connection (port 21) for the authentication of the user. HTTP Transactions FTP (file transfer protocols) flow chart Interesting facts of FTP FTP is a TCP based service exclusively. There is no UDP component to FTP. FTP is an unusual service in that it utilizes two ports, a 'data' port and a 'command' port (also known as the control port). Traditionally these are port 21 for the command port and port 20 for the data port. FTP types There are several different ways an FTP server and client software can conduct a file transfer using FTP: •Anonymous FTP. This is the most basic form of FTP. It provides support for data transfers without encrypting data or using a username and password. It's most commonly used for download of material that is allowed for unrestricted distribution. It works on port •Password-protected FTP. This is also a basic FTP service, but it requires the use of a username and password, though the service might not be encrypted or secure. It also works on port 21. •FTP Secure (FTPS). Sometimes referred to as FTP Secure Sockets Layer (FTP-SSL), this approach enables implicit Transport Layer Security (TLS) as soon as an FTP connection is established. FTPS was initially used to help enable a more secure form of FTP data transfer. It typically defaults to using port 990. •FTP over explicit SSL/TLS (FTPES). This approach enables explicit TLS support by upgrading an FTP connection over port 21 to an encrypted connection. This is a commonly used approach by web and file sharing services to enable secure file transfers. •Secure FTP (SFTP). This is technically not an FTP protocol, but it functions similarly. Rather, SFTP is a subset of the Secure Shell (SSH) protocol that runs over port 22. SSH is commonly used by systems administrators to remotely and securely access systems and applications, and SFTP provides a mechanism within SSH for secure file transfer. credits NAVEEN NP h praveen e m a