Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


TSingleFileSystem.ExportFolder
TSingleFileSystem
Top 


Exports the folder from SFS file.

function ExportFolder(SourcePath: string; DestPath: string = ''; bRecursive: Boolean = True; OverwriteMode: TSFSOverwriteMode = omPrompt): Integer;

Description
ExportFolder copies the SourcePath folder and all its files stored in SFS file to DestPath.
The return value is a number of exported files.

The SourcePath parameter is a folder within SFS file to export.

The DestPath is a path to export to. By default, all the files are exported to the current directory

The bRecursive parameter specifies whether subdirectories of the source folder are exported. All subfolders of the source path are exported by default.

The OverwriteMode specifies the mode of overwriting existing files having the same name as exported files. Existing files can be overwritten always, never or by prompt.


© 2000-2004 AidAim Software LLC Single File System: