EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to add a file to storage?

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!
Posted: 06/14/2012 08:39:40
by Eugene Mayevski (Team)

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



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