I am writing a ftp server program in vb and I need to know how to send a directory list to the ftp client using the winsock control. I get through the accecpt conntect and l/p verification, but then ftp client sends list command and says trash dir responce. how do I send the directory listing to it. Is there a certain format I must use? Can anyone provide me with a list of ftp reply code (EX. 421 To many user, 331 User accecpted) and a list of commands (EX PORT, LIST, REST)