EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to add a file to storage?

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#20467
Posted: 06/14/2012 08:29:32
by vinoth b (Basic support level)
Joined: 06/13/2012
Posts: 9

I am using SFS OS edition. I am able to create a storage and mount it to a point. But how to add a file to the storage?
I have seen that SolFSStorage class contains a method like RemoveFile but no AddFile.

Kindly help!
#20468
Posted: 06/14/2012 08:39:40
by Eugene Mayevski (EldoS Corp.)

You can use .NET FileStream class and provide the filename relative to virtual disk letter (after the disk is mounted) or use SolFSStream class and provide a filename relative to storage root (i.e. simply "\foldername\filename.ext"


Sincerely yours
Eugene Mayevski

Reply

Statistics

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