EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Maintain original file date / time

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?

Posted: 08/11/2011 12:18:43
by Eugene Mayevski (Team)

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
Posted: 08/11/2011 13:53:36
by Rob Wingate (Standard support level)
Joined: 08/11/2011
Posts: 3


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

Best regards,



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