Computer network HTTP: HTTP and FTP

image

  • The difference between HTTP and FTP

    the difference HTTP FTP
    Features HTTP is used to access different sites on the Internet, the web content WEB server from the client-side transmission WEB browser, known as the one-way system FTP is used to upload and download files, files can be transferred between the FTP server and FTP client from one host to another, is called a two-way system.
    connection HTTP establish a data connection only FTP data established on 20 TCP port number connected to the other control connection is established on 21 TCP port number
    The port number Using TCP port 80 HTTP 20 and 21 using TCP port FTP
    Transfer file size HTTP can effectively transfer smaller files, such as web pages FTP can efficiently transfer large files
    verification HTTP does not require authentication FTP password is required for authentication
    data storage Transmitted to the device using HTTP page or content data is not saved to the memory of the device Transmitted to the device using FTP data is stored in the memory of the apparatus
    display Use HTTP, URL will be displayed HTTP Using FTP, FTP will display URL

Guess you like

Origin www.cnblogs.com/xiaobaizzz/p/12302008.html