-
March 19th, 2002, 06:02 AM #1
What's the diff between HTTP Download and FTP Download ?
Anyone ?
-
March 19th, 2002, 06:25 AM #2Registered User
- Join Date
- Oct 2001
- Posts
- 4,097
A good question, I would be interested in the answer too.
-
March 19th, 2002, 07:16 AM #3
HTTP is a stateless protocol. A page or item is requested and sent. There are no means of checking that the package got there in it's entirety or that data packets were not lost along the way.
FTP File Transfer Protocol on the other hand uses two channels, one for data and one for flow control.
Downloading off an FTP site is done in two different methods, ASCII or plain text and BINARY or machine language.
Typically, FTP is faster, and therefore the preferred method.
There is no difference in the quality or content of the HTTP download compared to the FTP option
uhm more or less anyway"the chief cause of problems is solutions!"
-
March 19th, 2002, 11:23 AM #4
We have been without FTP access here at work for about two years. Sometimes you could get a file if you started very early in the morning, and the rate was very slow. Most of the time it would time out.
All of our complaints did no good, they did not understand our problem, and they sure did not know how to fix it.
It has been working lately, somebody fixed something.
-
March 19th, 2002, 11:31 AM #5Not Really a Member
- Join Date
- Oct 2001
- Posts
- 27,856
Umm maybe I'm misunderstanding but if I remember right those have nothing to do with each other...HTTP is a stateless protocol. A page or item is requested and sent. There are no means of checking that the package got there in it's entirety or that data packets were not lost along the way
TCP allows for validation of packet arrival... stateless just means it doesn't track the connection it starts the connection and off ya go...
While UDP (kinda like streaming radio/and typically IM messages) just throws out the packets and hopes you catch them ok...
Am I misunderstanding?!
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
-
March 19th, 2002, 11:41 AM #6
Actually the way I thought it went down was the connectivity.
HTTP connects, requests downloads info, and disconnects.
FTP connects and stays connected until you tell it to disconnect, so multiple requests for info are serviced, therefore once you get a connection to a ftp server you have it until you disconnect.
Banti
-
March 19th, 2002, 12:13 PM #7
The World Wide Web, is intrinsically stateless because each request for a new Web page is processed without any knowledge of previous pages requested.
HTTP is called a stateless protocol because each command is executed independently, without any knowledge of the commands that came before it."the chief cause of problems is solutions!"
-
March 19th, 2002, 12:25 PM #8
http is stateless, but it is not connectionless. udp protocols are connectionless, the machine simply wishes them good luck and best wishes in regards to arriving at the intended destination. http, as with other tcp protocols, relies on the error correction and validation native to tcp so it is very much connection oriented.
ftp over http is relatively common, especially in places where ultra-paranoid or lazy (and sometimes a little of both) firewall administrators don't want to open up any ports other than http and smtp. all you have to do is run ftp over http and you're good to go. in that regard it can be handy, but for that matter it's pretty simple to encapsulate most types of tcp traffic payloads within http to pipe it through firewalls/proxy servers. that's really the only benefit. using straight ftp is much, much better. some will argue that it's not faster, but based on multiple tests (as well as day to day experiences) it is faster. more importantly than that, though, is the fact that ftp supports the 'reget' command for resumed downloads which is something that http doesn't do. since http was designed with the sole purpose of feeding web pages, it's efficient at just that ... sending information in bursts. ftp, although a bit cumbersome between the control and data channels and what they do depending on whether you're doing an active or passive ftp session, does its job well. i think that the resume capabilities built in should leave no doubt that http downloads are pointless unless they are small files.
cheers,
psyklone
-
March 19th, 2002, 12:33 PM #9
YAWN
now i understand the confusion
just went back to midshift and i guess i was as clear as mud on that one"the chief cause of problems is solutions!"
-
March 19th, 2002, 11:55 PM #10
-
March 20th, 2002, 12:37 AM #11
While you can easily argue differences in protocols..
Externally.. you don't see a whole lot of difference except for features..
a fully featured FTP program usually has much more to it than just simple download.. ie queued downloads.. auto-resume.. auto-reconnect.. etc..
I enjoy downloading from FTP's much more than off the web (HTTP)
-
March 20th, 2002, 01:23 AM #12
midnight shift...that does hurt.
I sometimes have to work from 9AM to 2AM on inventory days. my stupid company is too freakin cheap to hire more people, they'd rather overwork the ones they have.FalcomPSX
-
March 20th, 2002, 02:02 AM #13
yeh ftp is the way to go
ouch is right i bounced to days for 8 weeks of serving on the local grand jury and this is my first week back
11p to 10 a but only 3 days a week and really good benefits. i get phone calls from techs instead of users and and and and ......
i get to hang out at TechIMO when at work since techs don't call that often
"the chief cause of problems is solutions!"
-
March 21st, 2002, 10:52 AM #14
Yeah, I would like that job. I'd like being a nightown, but my classes (early in morning) and my job (also early in morning) dictate that I must fall in line w/ conformity (sleep ~ midnight - 6:30 am).
What nights do you work? As long as its not thursday, friday or saturday, that would be a perfect job when in college.
-
March 21st, 2002, 10:57 AM #15Ultimate Member
- Join Date
- Oct 2001
- Posts
- 3,235
Ah... I really didn't know a whole lot about the differences between http and ftp. I just always picked ftp when there was a choice, because it definitely was faster.
-
November 23rd, 2008, 11:51 AM #16Junior Member
- Join Date
- Nov 2008
- Posts
- 1
ftp logical cause of using two connections.
I have searched a lot. But still I cannot find it out why ftp needs two connections. Someone says one for flow control and another for data transfer. What is the advantage of it? In http we can initiate the transfer or send other commands in the same TCP connections. So why ftp uses another connection for it?
What is the benefit of that connection over http?
Please clarify these issues.
-
November 23rd, 2008, 12:13 PM #17
At the rudimentary level, FTP uses one connection for control and another connection for data. Having separate control and data lanes is a pretty common concept for electronics, be it for hardware or software.
As for a benefit, they are simply two different protocols which can be used to transfer a file. HTTP is more robust, but it also about two decades newer than FTP. Remember, FTP was developed back when a PDP-10 was considered cutting-edge technology.
Robert Richmond | Infinite perceptions. One reality.
TechIMO.com Editor-in-Chief
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



LinkBack URL
About LinkBacks



Reply With Quote



Great to know that I'm special. It's still completely hosed. Style sheet issues?
Is It Just Me? v233893843