Lock the receiving file for exclusive access, or only look for it in the
"real" target directory.
--
Gary G. Little
Seagate Technologies, LLC
"DWinter" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Problem:
>
> Customer X is ftp-ing a file in ASCII mode to his directory
> A process is checking to see if a file exists in Customer X's directory
> When a file is found, the file is Moved to a working directory for
> processing
>
> Issue:
> File is being moved before the ftp has completed. There is only a portion
of
> the file is available for processing.
> This does not occur in binary mode, but cannot require customers to send
> files in binary mode.
>
> Question:
> How do I determine that the file is completely uploaded. What is the
> property or method needed on the file handle to determine when a file
upload
> is completed?
>
> TIA
>
>
|