Page 1 of 1

SFTP Client ReadFile method closes connection

Posted: Wed 08 May 2013 15:11
by coolsmurf
Hello,

I have been using SecureBridge for 6 months and it works great ! I am now trying to do something new and I am having some trouble.

I want to use SFTPClient.ReadFile(). However, after each call to this method, the SFTPClient closes the connection (Active property is false). I have seen this post on the forum and I wonder if it is linked as I use OpenSSH on my Ubuntu server.

Is there any way out?
*) Should I use Initialize() to open connection again after each call to ReadFile()?
*) Should I configure my server to avoid this and how?

Thanks,

Re: SFTP Client ReadFile method closes connection

Posted: Mon 13 May 2013 10:12
by Dimon
I can not reproduce the problem.
Please try to use the SFTPClient demo of SecureBridge and check if the problem persists.
Can I have access to your SFTP server?