Archived Forum Post

Index of archived forum posts

Question:

Download multiple files simultaneously through single Sftp instance

Sep 12 '12 at 08:05

Hello,

success = sftp.DownloadFileByName(remoteFilePath,localFilePath);

How can I do multuple downloads at the same time, meaning can I have 5 threads using the same sftp instance to download 5 seperate files.


Answer

I'm sorry to say it is not possible. You would need a separate instance of the object for each download.