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


TSingleFileSystem.LoadFromFile
TSingleFileSystem
Top 


Loads the entire contents of the SFS file into the Single File System object.

procedure LoadFromFile(const FileName: string);

Description
Use LoadFromFile to fill the SFS object with the contents of the SFS file. Pass the name of the file as the FileName parameter. LoadFromFile allows an application to read the contents of a file into the SFS object without having to explicitly create and free a file stream object.

LoadFromFile will discard any pre-existing data stored in the SFS object.

Note:   This method may be useful when you need to get a copy of disk SFS file to in-memory SFS object.


© 2000-2004 AidAim Software LLC Single File System: