I'm developing an application that interacts with Microsoft FTP Server (With IIS 4.0). If I try to open a scoket connection on port 21 and send in logon commands it allows me to logon. And if I try to execute FTP commands like LIST, STOR, RETR it is returning a response 425 can't open data connection. I understood there has to be separate connection for data other than the one with which we logged. I'll appreciate if any one can help me in sending and retrieving the file to/from FTP Server using Java.
Thanks in advance