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


Imports the folder to SFS file.

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

ImportFolder copies the folder SourcePath and all its files to DestPath in SFS file.
The return value is a number of imported files.

The SourcePath parameter is the name of the folder to import.

The DestPath is a path within SFS file to import to. By default all the files are imported into CurrentDir.

The bRecursive parameter specifies whether subdirectories of the source path are imported. All subdirectories of the source path are imported by default.

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

The EncryptFiles parameter specifies whether the imported files will be encrypted. The password for each imported file can be assigned in OnPassword event.

© 2000-2004 AidAim Software LLC Single File System: Single-file Delphi Virtual File Syste