Posted: 2015-08-27 10:16
Thank you for for your precious time.
I have a SFTP Connection ID and .ppk File for SFTP Connect (exclude Password).
And I want to make VB6 code for Connect and Upload file by ID and .ppk file(ppk file path)
I find example about SFTP Connect and apply then, But It doesn't work.
Here's the VB code that I need help.
' Connection Option
Set session = New session
Set sessionOptions = CreateObject("WinSCP.SessionOptions")
Dim myTransferOptions As New TransferOptions
.Protocol = Protocol_Sftp
.HostName = "SFTP Address"
.UserName = "SFTP Connect ID"
.SshPrivateKeyPath = "Full Path of .ppk File"
' Binary Mode
myTransferOptions.TransferMode = TransferMode_Binary
session.DisableVersionCheck = True
I am looking forward to your reply.
Location: Prague, Czechia
Please attach a full session log file showing the problem (using the latest version of WinSCP).
To generate log file, set
You can post new topics in this forum
And it's free!