|
We're having problems connecting to a particular server with the FTP.NET Winform Sample Client (WinFormClient.exe). The FTP server we're trying to connect to is running Windows Server 2008 R2 (x64) with IIS7.5. Here's the log file output:
We're able to connect fine using other FTP software (such as FileZilla), so it appears to be a problem with the Rebex library...? Thanks for any help. |
|
This looks like Rebex FTP got stuck while waiting for the To work around this issue, try disabling FTP server feature detection. Locate the following line in the WinFormClient sample:
And add the following line below it:
If this doesn't help, please let us know and post an updated log. More information: The issue itself is unlikely to be caused by MS IIS FTP 7.5 or Rebex FTP alone - we routinely run our automated tests against this FTP server and never noticed such problems. A possible explanation is a FTP-aware firewall along the way that doesn't handle IIS FTP's SITE command response properly. Thanks again! -JP
(07 Jun '10, 17:38)
Jackson Pollack
|
This looks like Rebex FTP got stuck while waiting for SITE command response. This has not been reported before - we are running our automated tests against MS FTP 7.5.
Please locate the "_ftp = new Ftp();" line in the WinFormClient sample and add the following line below it: "_ftp.Options |= FtpOptions.DoNotDetectFeatures;" - does this make any difference? (Please post the log if it doesn't.)
(In VB.NET, locate "_ftp = New Ftp" and add "_ftp.Options = _ftp.Options Or FtpOptions.DoNotDetectFeatures")
It worked! Connects perfectly now! Thanks!
(You should have posted it as an answer, so I could mark this question solved :)
Thanks! I did not actually expect that this alone would help - I thought several more iterations would be needed first. But I will repost this as an answer now :-)