Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (120 points)
Hi, we are getting the following weird exception on one of our customers machines:

[2008-10-22 13:56:53,269] [944 ] DEBUG Exception while fetching file 'US/Books/1.sdf.gz': EnterpriseDT.Net.Ftp.FTPException: NOOP ok. (code=200)
at EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String[] expectedReplyCodes)
at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransfer()
at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()
at EnterpriseDT.Net.Ftp.FTPClient.Get(String localPath, String remoteFile)
at EnterpriseDT.Net.Ftp.FTPConnection.DownloadFile(String localPath, String remoteFile)
at SmartScanDesktop.DataRetriever.DownloadData()

This connection is set up with the following properties (certain fields have obviously been changed for security reasons):

EventsEnabled = true;
LicenseKey = "000-1111-2222-3333";
LicenseOwner = "company";
ServerAddress = "ftp.company.com";
UseGuiThreadIfAvailable = true;
UserName = "username";
Password = "password";
KeepAliveIdle = true;
KeepAliveTransfer = true;
KeepAlivePeriodSecs = 10;

Does anyone have any ideas what is going on?

1 Answer

0 votes
by (162k points)
Set KeepAliveTransfer = false

That should sort it out ...

Categories

...