Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
/img/help/home.gif

TECLFileStream.SaveToFile

TECLFileStream


Writes the entire contents of the data stream to the file with a given file name.

 

procedure SaveToFile(const FileName: string);

 

Description

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.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 19, 2024