This project is read-only.

What parts of this library are threadsafe?

Jun 5, 2012 at 4:54 PM

I want to use the sftp client and the ssh client in multiple Tasks (which will each run in its own thread).  Is this going to work reliably, or this library not meant to be used this way?

I know that some of the classes have their own asynch. abilities (calling delegates when done with an operation, etc) but I don't want to really use them that way. I want to call the synchronous versions (such as uploading a file) but do this concurrently on multiple threads.  I am not expecting to share a connection object across threads, but rather have each thread make its own connection. 

Thanks for any input!!


Jun 5, 2012 at 9:35 PM



Yes, it should work reliably as I was planning on using it this way myself initially, so if you have an issue, please let me know.