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?

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#9437
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?

Thanks.
#9438
Posted: 03/28/2009 02:05:14
by Volodymyr Zinin (EldoS Corp.)

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

Reply

Statistics

Topic viewed 2136 times

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




|

Back to top

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

Got it!