On Wednesday 17 Nov 2004 22:14, Danny Sauer wrote:
Martin wrote regarding '[SLE] ftp and ftp-data' on Fri, Nov 12 at 03:18:
Hi all,
just a dumb question: is the port for ftp-data always ftp-1 ? I mean: usually ftp == 21 and ftp-data == 20, so if I start a FTP server on, say, 50021, would ftp-data be 50020 by default? if not, where do I configure that ftpd's behaviour?
My interpretation of RFC959, section 3.2, is that ftp-data will automagically be assigned to controlport-1, so if you specify the control port as 50021, then the data port will be determined to be 50020 by a properly written server program. A stupid program may choose 20 regardless.
Then again, I think that active FTP is a stupid protocol in general (passive's almost as stupid), and that FTP is in general not a terribly good protocol, esp. in the presence of lots of other good protocols (notably 1.1 and rsync). :)
--Danny, pointing you to faqs.org for more details
http errr Hyper text transfere protocol is thet not TEXT are we talking web pages or binary files here ..?.. -- Linux user No: 256242 Machine No: 139931 G6NJR Pete also MSA registered "Quinton 11" A Linux Only area Happy bug hunting M$ clan, The time is here to FORGET that M$ Corp ever existed the world does not NEED M$ Corp the world has NO USE for M$ Corp it is time to END M$ Corp , Play time is over folks time for action approaches at an alarming pace the death knell for M$ Copr has been sounded . Termination time is around the corner ..