View Single Post
  #5 (permalink)  
Old June 19th, 2003, 07:08 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

This is what I would have expect as well... but it was not true in all cases!

Marco

Quote:
quote:Originally posted by jlick
 I would expect that while the FTP is going on, the file is locked for writing. That being the case, when you discover the filename, before you start copying it, couldn't you try to open for append. If the open for append raises an error then the FTP is not complete. If the open for append doesn't raise an error, then close it and copy it.

John R Lick
JohnRLick@hotmail.com
Reply With Quote