Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption
Writes the entire contents of the data stream to the file with a given file name.
procedure SaveToFile(const FileName: string);
Use SaveToFile to write the contents of data stream to a file with transparent decompression. SaveToFile allows an application to write out the contents of the stream 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.