Robert martin wrote:
Hi

I am ftping some files down from a web site (ours). The FTP component gets a Dir list and downloads some of the files. However if I am busy uploading a file (say 1-2 mb) then a download will fail as the FTP component tries to download a file that is still being uploaded. Is there anything I can to about this (prevent the file appearing in the DIR list?) or should I just try to trap the error?


My usual technique is to do uploads to a different directory, and then rename into the desired directory from which downloads are
done.  This means the new version of the file "appears" atomically.
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to