Re: Download partial file (General questions)
Thanks for the quick reply. What we're doing is downloading files that our customers put up on the FTP site. I'm writing a service that polls folders for incomming files. When the file is found we download it. What will happen if the customer starts uploading and my service starts downloading before it's done. Is there a DirItems(n) property that we can check to see if the file's locked or something?
TIA
Mike
mbaker at creativedi dot com
Hi Mike,
File will appear immidiatelly when you start to transfer it to server.One thing you can do to determine which file is still unfinished and which is finished. You can upload file to server using some extension. For example .filepart extension. Something like this: weonlydo.txt.filepart
When file is uploaded to server completely you can rename that file and remove .filepart extension from name of file. You can do that using wodFtpDLX Rename Method.
More help for Rename Method you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~Rename.htmlHope I helped.
Regards,
Drazen
Complete thread:
- Download partial file - Mike Baker, 2008-10-29, 16:22
- Re: Download partial file - woddrazen, 2008-10-29, 16:32
- Re: Download partial file - Mike Baker, 2008-10-29, 16:50
- Re: Download partial file - woddrazen, 2008-10-29, 17:23
- Re: Download partial file - Mike Baker, 2008-10-29, 16:50
- Re: Download partial file - woddrazen, 2008-10-29, 16:32