At 07:56 AM 6/29/00 +0100, you wrote:
>> My numbers aren't right. I FTP'd the com zone in the middle of of it
>> being copied to the FTP host.
>
>That can't be right, nobody drops new files on top of the old
>especially when they are large and so there's a large window where
>people will pick up an incomplete one or risk of transfer failure
>leaving a partial one there for some time.
>
>Normally you upload your new file to a temporary name and rename it
>after it's sucessfully (hopefully verified) delivered. Such updates
>need to be atomic.

By suggestion was they write a file called .busy, they copy the file there
then delete the .busy file when it's complete.

Then nobody would suck down a file when the .busy file exists.


--
[EMAIL PROTECTED]                               http://ph-1.613.473.1719  
It's about travel on expense accounts to places with good beer. - BKR



Reply via email to