login about faq

Are the .Net SFTP components safe for multi-threading? I will be using the Chilkat SFTP component in a WCF service to transfer files. Each object or service call will be exciting on its own thread. It’s a per-call WCF service.

asked Dec 28 '12 at 10:25

chilkat's gravatar image

chilkat ♦♦

The Chilkat .NET classes should be safe for multi-threading. However, that being said, for objects maintaining a TCP socket connection, such as HTTP, IMAP, MailMan, FTP2, SSH, SFTP, Socket, etc., such that the application can be having a "conversation" according to the protocol, such that the conversation involves a series of requests and responses, it would not make sense for multiple threads to be using the same object instance at the same time trying to have multiple simultaneous conversations over the same connection. In other words, each thread should have it's own object instance with it's own "conversation".


answered Dec 28 '12 at 10:29

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Dec 28 '12 at 10:25

Seen: 2,480 times

Last updated: Dec 28 '12 at 10:29

powered by OSQA