EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Maintain original file date / time

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#17263
Posted: 08/11/2011 11:17:24
by Rob Wingate (Standard support level)
Joined: 08/11/2011
Posts: 3

When I write files from my disk into SFS, I need the files inside SFS to reflect the same dates and times as the originals. How can I solve this?

Thanks,
Rob
#17265
Posted: 08/11/2011 12:18:43
by Eugene Mayevski (EldoS Corp.)

SolFS knows nothing about origin of your data, so if you need to carry some metainformation from the source to SolFS, you need to copy it explicitly. If your code copies files to SolFS storage, you need to set file times in SolFS storage after copying is done. This is done using SetFile*Time() methods of SolFSStorage class.


Sincerely yours
Eugene Mayevski
#17269
Posted: 08/11/2011 13:53:36
by Rob Wingate (Standard support level)
Joined: 08/11/2011
Posts: 3

Eugene,

Thank you very much -- that is what I needed. I was instead looking for that functionality on the SolFSStream class. Fixed now!

Best regards,
Rob

Reply

Statistics

Topic viewed 1839 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!