Article View: borland.public.cppbuilder.internet.socket
Article #2210Re: (No subject)
From: David Ayre
Date: Wed, 19 Jul 2006 08:29
Date: Wed, 19 Jul 2006 08:29
50 lines
3354 bytes
3354 bytes
Thanks Remy for that very full and descriptive answer. You have been exremely helpful. Thanks again, David "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: > >"David Ayre" <davidcayre@ntlworld.com> wrote in message >news:44bd1d4a$1@newsgroups.borland.com... > >> Why is it that ftp requires so much info, such as >> username and password > >Because that is the way the protocol is designed. HTTP also has >username/password support, but it is not used as much since HTTP is mostly >used for publically accessible files. > >> and has difficulty getting through a firewall > >FTP uses multiple socket connections. Data is sent on a separate connection >than the one that is used for sending commands. Every time a new transfer >is started, even for directory listings, a new socket connection has to be >established. > >For active transfers, that requires extra configuration inside of routers, >and extra inbound ports to be opened in firewalls. For passive transfers, >that requires extra outbound ports to be opened in firewalls. Admins don't >like opening up ports unnecessarily. > >You also need to keep in mind that FTP is one of the oldest Internet >protocols that is still commonly in use, long before firewalls and routers >became commonly used. The protocol was never designed to handle those newer >scenerios very well. There have been some standards proposals to add new >features to FTP, but they are just patching the underlying design flaw that >is FTP's weakness. > >> while http seems to be able to go straight in? > >HTTP does not suffer from any of the problems that FTP has. HTTP does not >use multiple socket connections. And it is commonly used over standardized >ports that routers know how to handle efficiently, and that are commonly >open on firewalls to allow web browsers to work on company networks without >needing extra configuration by admins. > > >Gambit > >
Technical Details
Message-ID:
<44bded7a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44b7b0d0$1@newsgroups.borland.com> <44b7c6f8$1@newsgroups.borland.com> <44b7ee96@newsgroups.borland.com> <44b7f43e$1@newsgroups.borland.com> <44b8a05a$1@newsgroups.borland.com> <44b8a74a@newsgroups.borland.com> <44b8acc2$1@newsgroups.borland.com> <44ba7c4c$3@newsgroups.borland.com> <44ba98f8$1@newsgroups.borland.com> <44bb061f$1@newsgroups.borland.com> <44bbaed3$1@newsgroups.borland.com> <44bcb359$1@newsgroups.borland.com> <44bd11bf$1@newsgroups.borland.com> <44bd1d4a$1@newsgroups.borland.com> Subject: <44bd4775$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,117ad7250680adca X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "David Ayre" <davidcayre@ntlworld.com> Sender: "David Ayre" <davidcayre@ntlworld.com> Reply-To: "David Ayre" <davidcayre@ntlworld.com> Subject: Re: (No subject) Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 62.252.224.18 X-Forwarded-For: 81.96.132.239 References: <44b7b0d0$1@newsgroups.borland.com> <44b7c6f8$1@newsgroups.borland.com> <44b7ee96@newsgroups.borland.com> <44b7f43e$1@newsgroups.borland.com> <44b8a05a$1@newsgroups.borland.com> <44b8a74a@newsgroups.borland.com> <44b8acc2$1@newsgroups.borland.com> <44ba7c4c$3@newsgroups.borland.com> <44ba98f8$1@newsgroups.borland.com> <44bb061f$1@newsgroups.borland.com> <44bbaed3$1@newsgroups.borland.com> <44bcb359$1@newsgroups.borland.com> <44bd11bf$1@newsgroups.borland.com> <44bd1d4a$1@newsgroups.borland.com> Subject: <44bd4775$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <44bded7a$1@newsgroups.borland.com> Date: 19 Jul 2006 01:29:46 -0700 X-Trace: newsgroups.borland.com 1153297786 207.105.83.66 (19 Jul 2006 01:29:46 -0700) Lines: 51 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail