View Single Post
  #3 (permalink)  
Old June 19th, 2003, 05:27 PM
marcostraf marcostraf is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Gonzalo, that is a good technique if you know when the ftp is done, but it
does now work if someone else is sending the file.
I was struggling to find out a way to know that a file is still is use,
and at the end I used the following: I check the size of the file, and
if does not grow in the last five minutes (or if another file has been
downloaded) I consider the transmission done. Not great, but it works
in my case.

Marco
Reply With Quote