error calling external object function putfile - WeOnlyDo Discussion board

error calling external object function putfile (wodSFTP / wodSFTP.NET / wodSFTPdll)

by ml, Friday, May 30, 2008, 11:34 (6022 days ago)

Hi,

I am calling the below from Powerbuilder 10.5.2. And I kept encoutering the error which says error calling external object function putfile I am using the demo version of wodFtpDLX.

ole_wodftp.object.Hostname = 'x.x.x.x'
ole_wodftp.object.Login = 'xxx'
ole_wodftp.object.Password = 'xxx'
ole_wodftp.object.Authentication = 1
ole_wodftp.object.TransferMode = 1
ole_wodftp.object.Blocking = false
ole_wodftp.object.protocol = 0
ole_wodftp.object.Passive =1

ole_wodftp.object.connect()
ole_wodftp.object.RemotePath= /gacsin/FROM_USA/

ole_wodftp.object.PutFile( C: emp empmytestingfile.txt , ole_wodftp.object.RemotePath)

Can you please advise?

Thank you.


Complete thread: