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

Hiro.A

Re: Can I use multi-session to multi sftp servers simultaneo

I tried "TunnelLocalPortNumber" by AddRawSettings and seemed to succeed.

Thanks!
Hiro.A

Re: Can I use multi-session to multi sftp servers simultaneo

Now I found this issue's point.

I tried 3 servers , for each servers' tunnel, they used the same local tunnel port (50000).

But I did not know how to specify local tunnel port, would you teach me ?


Regards,
Hiro.A

Re: Can I use multi-session to multi sftp servers simultaneo

Ok,

So I understood it was caused by my fault. I must look for what went wrong.
I will retry later.

If I found something, I will tell you.

Thanks anyway,
martin

Re: Can I use multi-session to multi sftp servers simultaneously

You can use separate Session objects from different threads. Single Session instance guards itself from concurrent accesses.

Please attach logs showing the problem.
Hiro.A

Can I use multi-session to multi sftp servers simultaneously

Hello,

Now I am trying to make my program to manipulate several sftp servers simultaneously. For the first step, I tried ListDirectory from 3 servers by using backgroundworker objects.
But it seemed not to work correctly.

So, I want to hear, if I can use .net assembly thread-safe or not , in order to know it was caused by my fault or not.


Regards,