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


TSingleFileSystem.SaveToFile
TSingleFileSystem
Top 


Writes the entire contents of the SFS object to the file with a given file name.

procedure SaveToFile(const FileName: string);

Description
Use SaveToFile to write the contents of SFS object to a file. SaveToFile allows an application to write out the contents of the SFS object without having to explicitly create and free a file stream object. If the named file cannot be created or opened, SaveToFile raises an exception.

Note:   We recommend that you use the SaveToFile instead of the CopyFrom method with TFileStream as it works much faster. This method may be useful to save in-memory SFS file to disk.


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