Discussion Locked

ftp/http

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What is the main difference between FTP and HTTP? And how they work?

5 replies

by thechas

FTP stands for File Transfer Protocal

HTTP stands for HyperText Transfer Protocol

HTTP is web pages.
It is the protocal for transfering HTML (Hyper-Text Markup Language) files across the internet.

FTP is the files that make up any page that is not just text.

When you download files from a web site, you copy the file from the sites FTP server to your PC.

Chas

by ninet4

Answer 1 is mostly correct, though not completely. It is true that HTTP is the protocol used for transfering HTML documents from one place to another to be viewed by a web browser.

FTP however is not files. FTP is yet another protocol and an application that is used for the transfering of documents. Though FTP is most commonly used for file transfers from a web site when you download, HTTP can be used for file downloads as well.

To get more technical. HTTP runs over a standard TCP port 80. This is the standard though HTTP can be run over any port just as any other protocol can be. It is always 80 by default. It is primarily used to allow people to view HTML or other web based documents via a web browser.

FTO runs over a standard TCP port 21. This is the standard though FTP can be run over any port just as any other protocol can be. It is always 21 by default. It is primarily used to allow people to upload/download files to/from remote locations.

This discussion is closed to new replies.