From owner-freebsd-hackers Fri Aug 29 10:22:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA15686 for hackers-outgoing; Fri, 29 Aug 1997 10:22:25 -0700 (PDT) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA15681 for ; Fri, 29 Aug 1997 10:22:19 -0700 (PDT) Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id TAA01514; Fri, 29 Aug 1997 19:21:59 +0200 (MET DST) Date: Fri, 29 Aug 1997 19:21:59 +0200 (MET DST) Message-Id: <199708291721.TAA01514@bitbox.follo.net> From: Eivind Eklund To: Nate Williams CC: hackers@FreeBSD.ORG In-reply-to: Nate Williams's message of Wed, 27 Aug 1997 16:34:07 -0600 (MDT) Subject: Re: FTP protocol questions (non-passive mode) References: <199708272234.QAA02520@rocky.mt.sri.com> Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Can anyone explain to me the FTP 'Data' channel protocol? > > As I understand it, the client creates a socket, and the server binds to > it, and then the 'DATA' is sent to it. How does the server know which > port to bind on the client? Is there something obvious I don't > understand as to why they couldn't use the original 'channel'? It was simpler to design this way - if the data-channel fall, you still have the control-connection, and it is easier to debug - one pure text channel. And FTP is _old_ - it was created in the 70s (the first FTP RFC was RFC 114 from early 1971). Eivind.