I have got a strange issue. When running my code locally it works like a charm, running the same on the production server it fails ! And that is where xxxxxxxx.vps.myxxxxxx.com is located ! The ftp2.connects fails with the following message : ChilkatLog: Connect: DllDate: Mar 16 2009 UnlockPrefix: UCxxxxxxFTP Username: SYSTEM Component: .NET 2.0 Hostname: xxxxxxxx.vps.myxxxxxx.com Port: 21 IdleTimeoutMs: 60000 ConnectTimeout: 60 HeartbeatMs: 0 numBytesRequested: 2048 Connection closed by server. Failed to read FTP response line.. initialStatus: -1 initialResponse: Failed to connect to FTP server. I tried both passive=true or false and it didn't make any difference My code is the following
|
I'll have a look into it. Anyway it sounds strange that running the code from my test machine remotely it works but not when I am running on the production environment. Would I be able to find an error message to put me on the right track in my Windows Server 2008 Event Viewer ? |
The firewalls between point A and point B could be different than the firewalls between point C and point B. |