:ExpandFile() - Expands the contents of a previously compressed file.


Class

     aprEncode()

 

Syntax

     :ExpandFile(cInFile, cOutFile) --> lSuccess

 

Parameters

 

cInFile

Filename of the File to be Expanded

 

cOutFile

Filename the file that is to contain the Expanded data

 

Return

     lSuccess. .T. if the file could be Expanded and written to cOutFile. Otherwise .F.

     If the operation failed, look at :nErr and :cErr for more information.

 

Description

     Expand the contents of the specified file and write the results to an output file (cOutFile).

     

The :ExpandFile() Method can only expand files that were previously compressed using the :CompressFile() Method. It cannot expand the contents of a file stored in an archive format used by third-party applications such as PKZip or WinZip.

 

See Also

:CompressFile, :EncodeFile, :DecodeFile