View Single Post
  #4 (permalink)  
Old June 19th, 2003, 06:12 PM
jlick jlick is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Sparks, NV, USA.
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jlick
Default

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