Hi,
I'm having a problem with the FTPConnection object. I'm pulling files in a loop from multiple directories happily from a GENE 6 FTP server (Win XP) when suddenly I receive the following error:
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
I tried setting the Timeout property to zero (meaning no timeout), but this doesn't seem to help. I restart the app and everything is working fine for a while.. then it gets the above error.
Is there anything I can do to prevent this?
I'm running in PASV mode and it seems to die in a different spot. Also, I checked the logs on the server and there isn't anything out of the ordinary when this goes down.
Thanks.
Jason