Connection to remote FTP server working partially

Jul 14, 2014 at 9:23 PM
Edited Jul 14, 2014 at 9:55 PM
I am a beginner in network programming.

I download a file from a remote FTP Server and I use some AutoResetEvents to notify some events such as file download started based on received messages from the FTP server.

I programmed and tested it on a local FTP server with filezilla and it works fine.

However on the customer site some AutoResetEvents go in timeout because I do not get some messages from the customer FTP server which I get with the filezilla server.

Actually I expected my code to run on every FTP server as it works with filezilla but it does not. Where could be the problem? Something related with my code or with the FTP server of the customer?