if you want to access to a ftp server,please run ftp.exe on your client.
the connect the server and prompt debug.So if you send a command to the
server than you see what the server do.
ftp>open XXX.XXX.XXX.xxx
ftp>debug
ftp>ls
--->list --->this command is run by the server
Sometime you can develope a ftp client program with winsock.
c:\>ftp
ftp> help
Commands may be abbreviated. Commands are:
! delete literal prompt send
? debug ls put status
append dir mdelete pwd trace
ascii disconnect mdir quit type
bell get mget quote user
binary glob mkdir recv verbose
bye hash mls remotehelp
cd help mput rename
close lcd open rmdir
ftp>
ftp> open ftp.your.site
ftp> cd yourdir
ftp> get afile
ftp> bye