Jfk, FTP uses Telnet. You can actually use a Telnet client to do FTP, except you can't open data connections. The FTP server sends CRLF at the end of each line, and a "220" code means "expecting input", but you don't always get a 220 code, and you don't know how many lines to expect.
Klass, I use ReadAvail(), but it only tells you how much data has actually arrived, not how much has been sent from the server. So I don't know whether to wait for more data to arrive, or start sending.
Klass, I use ReadAvail(), but it only tells you how much data has actually arrived, not how much has been sent from the server. So I don't know whether to wait for more data to arrive, or start sending.