Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.5k views
in .NET FTP by (1.8k points)
Yesterday, I received this error:

2008-02-21 08:59:41.2500 | edt | ---> STOR /project/124/media/05560-10-v565.mp2.zip
2008-02-21 08:59:41.4375 | edt | 150 Accepted data connection
2008-02-21 09:01:24.7500 | edt | Closing source stream
2008-02-21 09:01:24.7500 | edt | Caught exception
2008-02-21 09:01:24.7500 | edt | IOException in Put(string,string,bool)
2008-02-21 09:01:24.7500 | edt | Setting socket timeout=500
2008-02-21 09:01:25.7968 | edt | Setting socket timeout=120000
2008-02-21 09:01:25.7968 | edt | Stopping FTP task processor.
2008-02-21 09:01:25.7968 | edt | FTP task processor stopped.
2008-02-21 09:01:25.7968 | edt | Stopping FTP task processor.
2008-02-21 09:01:25.7968 | edt | FTP task processor stopped.
2008-02-21 09:01:25.7968 | edt | Licence expiry date: 12/31/9999
2008-02-21 09:01:25.7968 | edt | Production license
2008-02-21 09:01:25.7968 | edt | Licence expiry date: 12/31/9999
2008-02-21 09:01:25.7968 | edt | Production license
2008-02-21 09:01:25.8593 | edt | KeepAlive thread finished.
2008-02-21 09:02:17.8281 | edt | Stopping FTP task processor.
2008-02-21 09:02:17.8281 | edt | FTP task processor stopped.
2008-02-21 09:02:17.8281 | edt | Licence expiry date: 12/31/9999
2008-02-21 09:02:17.8281 | edt | Production license
2008-02-21 09:02:17.8281 | edt | Licence expiry date: 12/31/9999
2008-02-21 09:02:17.8281 | edt | Production license
2008-02-21 09:03:08.7968 | edt | Stopping FTP task processor.
2008-02-21 09:03:08.7968 | edt | FTP task processor stopped.
2008-02-21 09:03:08.7968 | edt | Licence expiry date: 12/31/9999
2008-02-21 09:03:08.7968 | edt | Production license
2008-02-21 09:03:08.7968 | edt | Licence expiry date: 12/31/9999
2008-02-21 09:03:08.7968 | edt | Production license
2008-02-21 09:04:00.9062 | edt | Stopping FTP task processor.
2008-02-21 09:04:00.9062 | edt | FTP task processor stopped.
2008-02-21 09:04:00.9062 | edt | Stopping FTP task processor.
2008-02-21 09:04:00.9062 | edt | FTP task processor stopped.

What does this IO error mean. Is it the source or the dest that was locked?
But what was worse, Synchronize(string localDirectory, string serverDirectory, FTPSyncRules syncRules) didn't throw an error back :S
So my retry cycle wasn't triggered.

2 Answers

0 votes
by (51.2k points)
Hi Boris

I'm sorry for the slow reply. There isn't really enough information here to be able to tell what's happened. Did you get a stack-trace? Could you also tell us a little more about the circumstances of the error, like what you were doing when it happened. Was it the first transfer or had it already done a lot of transfers?

- Hans (EnterpriseDT)
0 votes
by (1.8k points)
This error was in a program that's in production..
Nothing happened at all. The sync() just never finished so the transfer never got reported or retried and the connection never became free.
This was the last-but-two of a job of about 140 transfers.
Could it have been because two sync methods were trying to upload the same file at the same time?
As I mentioned in my other posts, since the sync methods get (indirectly) created by the users, it is possible a file gets included in multiple (async) synchronization jobs.
I since then never bumped on the same error again. We even pushed the exact same job through the service again to test.. but it went through successfully.

Wish I could give you more helpfull information..

Categories

...