Re: Excel vba winscpnet.dll does not have open command in session object
They are not exposed for enumeration by the IDE. But they can be invoked. Again, the subject of this topic is not your problem. Your problem is in your code.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
IDispatch
interface. None of them, not only the Open
. So that's probably not your problem.
mySession.Open (MysessionOptions)
WinSCPnet.Protocol_Sftp
Dim tmp1 As Variant
tmp1 = VBA.Shell("c:\Program Files (x86)\winscp\winscp.exe", vbNormalFocus)
Stop
With MysessionOptions
.Protocol = WinSCPnet.Protocol_Sftp
.HostName = "sftp.datashop.livevol.com"
.UserName = "dbrower9_ix_netcom_com"
.Password = "Davyb002##"
.SshHostKeyFingerprint = "ssh-rsa 2048 4yK/0LgwT2ERct0jZXdP6590zT9Qdhv78xfjWdv91lQ="
.SshPrivateKeyPath = "C:\MyKeys\MyPrivateKey.ppk"
End With
' Connect
mySession.Open (MysessionOptions)
' Your code
Stop
End Sub
Failed
, FileTransferProgress
, FileTransfered
, OutputDataReceived
, QueryReceived
. There is no Open
.