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

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

by woddrazen, Thursday, March 12, 2009, 22:27 (5533 days ago) @ sureshsundar

Hi,


Sorry for slower reply I have just finished testing in PB 10.

Here is code I use and it worked for me without any problem:
[code]ole_1.object.Hostname = hostname
ole_1.object.Login = login
ole_1.object.Password = password
ole_1.object.Blocking = 1
ole_1.object.Connect

ole_1.object.PutFile( c:\test.txt , /home/weonlydo/test_pb.txt )[/code]
Can you try my code? What happened if you remove PutFile line? Did you still receive error?

Which protocol you need to us for your server?

More help about protocol you can find here in Protocol Property:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~Protocol.html


Drazen


Complete thread: