I'm trying to write my little FTP client (part of my bigger project). I'm getting this error and I have no idea what's wrong...
I always get error when I try to issue a command "LIST", any idea why?
note: I can use FTP command and log to the server without any problems.... I just want to write my own FTP....
here is what I type and the reply from the server....
TELNET server1 21
220 server1 FTP server (Authorized Use Only) ready.
331 Password required for jiri.
230 User jiri logged in.
200 Type set to A.
500 'CDW /work1': command not understood.
250 CWD command successful.
425 Can't build data connection: Connection refused.