EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Export all files from storage to disk

#20846
Posted: 07/22/2012 11:13:04
by Sandeep Mohan (Basic support level)
Joined: 02/25/2009
Posts: 46

How do I export all files in the storage to disk and maintain the directory structure within the storage?

I am using the Solfs Application edition with DotNet c# framework 4.0. I choose the win32 version which i beleive is a 32 bit version.

thanks
#20847
Posted: 07/22/2012 14:02:48
by Eugene Mayevski (Team)

In .NET you need to enumerate files in the directory, open found files one by one and write them to the physical disk one by one. Then walk through all subdirectories of the enumerated directory and export files there. And so on, recursively.

In VCL we have helper functions for this, but those functions are implemented in VCL API and thus are not available in .NET.


Sincerely yours
Eugene Mayevski

Reply

Statistics

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