EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Is there a reliable way to know when a file is done writing?

Posted: 03/27/2009 15:18:19
by Adam  (Basic support level)
Joined: 03/25/2009
Posts: 7

I'm looking for a way to know when a file is done saving. With file copies, the OS calls "SetEndOfFile()" to set the end position. When doing any type of streaming save, SetEndOfFile is called for each chunk sent.

What I want is to prompt the user with a custom form after a file is saved to the FS. The form needs to be able to open the file after the save (because I am displaying the image, in the case of image files, on the form).

Anybody have any ideas?

Posted: 03/28/2009 02:05:14
by Volodymyr Zinin (Team)

Track for the last OnClose request for a file that was being written. OnClose is the latest request that is called for a file.



Topic viewed 2637 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!