SFTP Client ReadFile method closes connection

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
coolsmurf
Posts: 5
Joined: Tue 20 Nov 2012 18:54

SFTP Client ReadFile method closes connection

Post by coolsmurf » 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,

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: SFTP Client ReadFile method closes connection

Post by Dimon » Mon 13 May 2013 10:12

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?

Post Reply