Re: FTPDLX GetFile returns 0 byte file and gives A (General questions)
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:
- FTPDLX GetFile returns 0 byte file and gives Acces - Ogedei, 2006-12-20, 18:18
- Re: FTPDLX GetFile returns 0 byte file and gives A - woddrazen, 2006-12-20, 18:26
- Re: FTPDLX GetFile returns 0 byte file and gives A - Ogedei, 2006-12-20, 18:47
- Re: FTPDLX GetFile returns 0 byte file and gives A - woddrazen, 2006-12-20, 19:11
- Re: FTPDLX GetFile returns 0 byte file and gives A - Ogedei, 2006-12-20, 18:47
- Re: FTPDLX GetFile returns 0 byte file and gives A - woddrazen, 2006-12-20, 18:26