| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: An existing connection was forcibly closed by the remote host |
| darrychui dchui@blueskymg.com From: San Ramon, CA USA Posts: 2 Member Since: 09/08/08 |
posted September 8, 2008 1:55 PM I am using your PowerTCP FTP for .Net for several years without any issues. However, we recently trying to setup a new client connection in our production enviornment and I am getting the error message "An existing connection was forcibly closed by the remote host" when I issue the ftp.List("",True) statement. This error only happens on our production server because I can use the same code on my development box with no issues. Also, I was able to use the command line microsoft ftp to connect to this client again without any issues. Please give me some idea as to why this is happening. Thanks |
Mike Baldwin (Admin)![]() From: Rome, NY USA Posts: 114 Member Since: 04/11/00 Extra Support Options Custom Application Development |
posted September 8, 2008 3:35 PM Sure. When Windows Firewall is enabled it provides a transparent FTP proxy on the client. Unfortunately, when it closes the data connection it does a "hard close", resulting in the exception message you are experiencing. We've not seen any additional side-effects except for the message you're seeing. Can you confirm that this is the difference between your 2 clients? |
| darrychui dchui@blueskymg.com From: San Ramon, CA USA Posts: 2 Member Since: 09/08/08 |
posted September 8, 2008 4:50 PM No. I don't think it is the firewall because I can use the command line microsoft ftp on that server and connect to that client and issue a dir or ls command. Anything else I can try? |
Mike Baldwin (Admin)![]() From: Rome, NY USA Posts: 114 Member Since: 04/11/00 Extra Support Options Custom Application Development |
posted September 8, 2008 5:34 PM A better test would be to turn the Firewall off and see what happens. The command line microsoft ftp does not report a hard close. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|