PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.

Prev | Next | Users Guide | PhantomScript Reference | P1 Systems


Files

CompressFile

Syntax

CompressFile <infile> <outfile>

Description

Compress a file using RFC 1950 compression.

Parameters

<infile>

The file to be compressed

<outfile>

The file to receive the compressed data

Remarks

Compress uses RFC 1950 (ZLIB Compressed Data Format Specification). See also UncompressFile.

RFC 1950-compressed files can be uncompressed by many popular file compression programs such as WinZip and RAR if the compressed file is given the .gz extension as in the following example.

Example

CompressFile "myfile.txt" "myfile.gz"



Prev | Next | Users Guide | PhantomScript Reference | P1 Systems

PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.