I'm no expert on FTP, but probably the simplest way is to check to see if
the filesize remains steady for a certain time period before concluding that
it's complete.
This is not foolproof however.
Alternatively, IF you can count on users sending a checksum file (or
something similar) along with the actual file, then you can use that to
verify that the file is complete.
"Steph" <no_spam@no_spam.org> wrote in message
news:eH**************@TK2MSFTNGP09.phx.gbl...
Hi,
Users send files via FTP in a specific directory on our server.
I need to create a program that checks out the arrival of a file (24/24,
7/7...) in the directory and then that performs some manipulations with
this file.
But, i need the file to be completely transfered before manipulating it.
What is the best way to wait the transfer to be completed ?
Thanks.