Re: ftp download

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Not really.

We work around that by having the "customer" (in our case a vendor) park a
flag file when they're done. When they begin an upload, they first delete
the flag file if it exists. After finishing their upload, they put it back.

We never actually touch the flag file. We just look for its existence. Since
it's the last thing they upload, we don't actually care if it's partial. The
OTHER files are done. <s>

Dan

Al Marino wrote:
Out vfp program periodically downloads order files from an ftp site
and then deletes them
This works ok
However, if we just happen to download while the customer is
uploading, then we only
get a partial file

Is there any way to tell when the file is still being written to or
is open by our customer ?

al


.



Relevant Pages

  • Re: ftp download
    ... How about if we download directory, wait 1 min, download dir again, ... flag file when they're done. ... When they begin an upload, ... if we just happen to download while the customer is ...
    (microsoft.public.fox.programmer.exchange)
  • Re: File Locking
    ... >then have the client rename it when it's done. ... >script looks for won't exist at all until the upload is complete. ... Or to have the sending process create a flag file after finishing ...
    (comp.unix.solaris)
  • Re: File Locking
    ... >then have the client rename it when it's done. ... >script looks for won't exist at all until the upload is complete. ... Or to have the sending process create a flag file after finishing ...
    (comp.unix.misc)