dzoey@TERMINUS.UMD.EDU.UUCP (04/12/87)
No doubt you will get many replies, but here's the info on how to listen for a data connection. The well know data port for FTP is port 20. You can change this by issuing the PORT command to the host before you issue a STOR or RETR. I forget the exact syntax for the PORT command, but it's in the RFC. example user wants to stor data: client: PORT x server: {200,250} PORT command okay client: listen on x client: STOR foo server: {150,125} Establishing connection {opens a tcp connection to port x} If you want more info, I'll be glad to help. Joe Herman dzoey@umd5.umd.edu