How to perform file transfer using SFTP using Genymed SSH2 dll in dot net
C#
1
Posts
1
Posters
2
Views
1
Watching
-
I need a sample code to do an upload and download file from local machine to remote server using sftp or scp in genymed SSH2 . I am getting an exception "Cannot access a closed stream" while trying below code at get file method call, Connection is getting established successfully. SCPClient Obj_SCP = new SCPClient(Obj_Conn); Obj_SCP.getFile(remotepath,localpath); Obj_Conn.close();