SFTP Client ReadFile method closes connection
Posted: Wed 08 May 2013 15:11
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,
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,