Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

con8mi

solve

Hi
I solve, I inserted the correct SshHostKeyFingerprint.
sorry but I'm a beginner

Mauro
con8mi

use of private key with VB:NET

Hi
I created a connection with WINSCP version 5.1.5 build 3261 and a private key, this connection work correctly.

I try to develop a VB program with the parameters identically to graphic interface:

.Protocol = Protocol.Sftp
.HostName = "139.15.233.22"
.PortNumber = "11422"
.UserName = "itacbostime"
.SshPrivateKeyPath = "D:\Visual Studio 2008\Projects\ADP-SEND-FILE\ADP-SEND-FILE\bin\Debug".

the istruction "session.Open(sessionOptions)" jump to error (catch).

Can you help me to solve this situation.

Thanks in advance

Mauro