Re: powerbuilder and sftp - WeOnlyDo Discussion board

Re: powerbuilder and sftp (General questions)

by woddrazen, Wednesday, April 20, 2011, 21:17 (4777 days ago) @ sstyer

Hi,


Can you please try something like this in PB:
[code]oleObject PBObject
PBObject = create oleObject
PBObject.ConnectToNewObject( WeOnlyDo.Keys.1 )
PBObject.LoadKey( C:\key.txt , password )

ole_1.object.Authentication = 2
ole_1.object.HostName = your_hostname
ole_1.object.Login = your_login
ole_1.object.Password = your_password
ole_1.object.Blocking = 1
ole_1.object.PrivateKey = PBObject
ole_1.object.Connect[/code]
Let us know how it goes.


Regards,
Drazen


Complete thread:

 

  • powerbuilder and sftp - sstyer, 2011-04-20, 20:08 [*]
    • Re: powerbuilder and sftp - woddrazen, 2011-04-20, 21:17