martin wrote:
Please set Session.SessionLogPath
and attach log for both scenarios.
Hi can u tell me how to set this path.
I am getting an exception "session is already opened".
This is my code
With sess
.Protocol = Protocol.Sftp
.HostName = "-------"
.UserName = "-------"
.Password = "-------"
.SshHostKeyFingerprint = "ssh-rsa 2048 00:00:00:00:00:00:a7:31:a4:4a:b0:37:61:6c:5e"
' .ses()
End With
Using session As Session = New Session
' Connect
session.Open(sess)
session.SessionLogPath = "P:\FT Files\" -
This is where i m getting th error ' Upload files
Dim transferOptions As New TransferOptions
transferOptions.TransferMode = TransferMode.Binary
End Using