Re: Resume function not correctly download my file - WeOnlyDo Discussion board

Re: Resume function not correctly download my file (General questions)

by wodDrazen, Monday, July 24, 2006, 11:19 (6697 days ago) @ rossi

Rossi,


Please try this simple code to isolate your problem:
-------------------------------
dlx1.Hostname := your_lhostname';
dlx1.Protocol := 4;
dlx1.Login := 'your_login';
dlx1.Password := 'your_password';
dlx1.Blocking := true;
dlx1.Resume := true;
dlx1.Connect1;

dlx1.GetFile ('c:\test.txt','/c:/something/test.txt');
-------------------------------

Sleep API isn't good since it blocks same thread where wodFtpDLX lives in.
Also if you are using Port Property, you must put it in your code after Protocol Property. That is how wodFtpDLX works.


Drazen


Complete thread: