EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Export all files from storage to disk

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
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.

Posted: 07/22/2012 14:02:48
by Eugene Mayevski (EldoS Corp.)

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



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