Re: FTPDLX GetFile returns 0 byte file and gives A - WeOnlyDo Discussion board

Re: FTPDLX GetFile returns 0 byte file and gives A (General questions)

by woddrazen, Wednesday, December 20, 2006, 19:11 (6548 days ago) @ Ogedei

Hi Brian,


I'm not sure how it work with / but you must always use it. In GetFile, PutFile, DeleteFile ... Method.

You can use RemotePath Property, Here is how:

--------------------------------
dlx1.Connect

Wscript.echo dlx1.RemotePath

dlx1.GetFile c:\weonlydo.txt , dlx1.RemotePath & /weonlydo/test.txt
dlx1.DeleteFile dlx1.RemotePath & /weonlydo/weonlydo.txt
--------------------------------

Sample will work if you have weonlydo.txt file in /home/drazen/weonlydo/test.txt folder for example.
RemotePath value is in my sample /home/drazen

Let us know how it goes.


Regards,
Drazen


Complete thread: