Re: error calling external object function putfile - WeOnlyDo Discussion board

Re: error calling external object function putfile (General questions)

by sureshsundar, Thursday, March 12, 2009, 17:47 (5736 days ago) @ woddrazen

Here it is

ole_wodftp.object.Blocking =1
ole_wodftp.object.protocol =1
ole_wodftp.object.RemotePath = /home/tvpubs-e/incoming/import/inventory
ole_wodftp.object.Connect()

//Put a directory of files to the server:
/***This does not work****/
ole_wodftp.object.PutFile( c: emp est.txt ,ole_wodftp.object.RemotePath)

/***This does not work either ****/
//ole_wodftp.object.PutFile('c: emp est.txt','/home/tvpubs-e/incoming/import/inventory/test.txt')

both ways , it did not work, attributed to same error calling external function.

Hi,


Please change value in Blocking line to this:
[code]ole_wodftp.object.Blocking = 1[/code]
Can you maybe show us your PutFile line? If you are receiving error on that line in your code.


Regards,
Drazen


Complete thread: