Component was busy and got disconnected. (wodSFTP / wodSFTP.NET / wodSFTPdll)
I have version 3.2.4 of the wodSFTP component and I get this error when multiple threads hit the sftp server at the same time. I saw that this was an issue in the past and had been fixed I believe in 2.2.4?
Anyway, let me know what other information you need.
Thanks
Re: Component was busy and got disconnected.
Hi,
The error you are receiving means that component was in process of executing some method, and got disconnected for some reason.
What method was executed at that time?
Remember that when using component in threads, you need to keep it apartment threaded. This means that component can only be used in the thread it was declared and initialized in.
Regards,
Damba
Re: Component was busy and got disconnected.
There are two methods I seem to get this on:
GetFile
ListNames
And yes I believe it is correctly using Appartment threading as you said.
Thanks
Re: Component was busy and got disconnected.
Hi,
Is there any chance you could try the latest version available?
Also, if that doesn't work, is there any chance we could duplicate this issue?
Regards,
Damba
Re: Component was busy and got disconnected.
Yes, I will give that a try and if the update doesn't work I will attempt to setup a test scenario for you.
Thanks.