1) You can't use Quote command to send a command which require a data transfer. 2) The result of the various dir list functions are in the local file or stream you specified (a dir list is just another file transfer as far as FTP protocol is concerned).
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be ----- Original Message ----- From: "Dave Coventry" <[EMAIL PROTECTED]> To: <twsocket@elists.org> Sent: Tuesday, March 11, 2008 9:48 AM Subject: Re: [twsocket] Using Quote. > Okay, > > I've managed to find a reference to FTP commands: > http://www.nsftools.com/tips/RawFTP.htm > > According to this, I should be using NLST or LIST as my Quote String. > > However, the Server needs to receive the PORT command or PASV. > > If I send it PASV, I get a IP and a port returned and the Server then > waits for me to do something until it times out. > > How do I use the information returned in the '227 Entering Passive > Mode (111,122,133,144,155,166)' string? > > Where does the FTPClient hold the result of the LIST request? > > Many thanks, > > Dave Coventry > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be