Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Shyronosov Alex

Use WinSCP .NET asynchronously

We are using WinSCP .NET to work with SFTP servers. Currently we are facing issues when a big number of operations are executed simultaneously at the same moment. At some point our .NET application cannot allocate new threads from the thread pool for new requests because a certain number of threads are already blocked by waiting WinSCP operations to be completed. Sometimes one operation can take more than 1 minute, so we are facing significant downtime.

Is there any way to use WinSCP asynchronously, so threads wouldn't be blocked? If not at the moment, are there any plans to implement asynchronous operations in the future?