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

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


Networking

UUDecode

Syntax

UUDecode InputFile=<infile> OutputFile=<outfile>

Description

Decodes files encoded in the uu (Unix-to-Unix) format.

Parameters

<infile>

The file containing the data to be encoded.

<outfile>

The file to receive the encoded data.

Remarks

Uuencoding is encoding of data that results in ASCII printable output by by splitting every three octets into four sextets and offsetting each sextet by 32 decimal.

UUencoding is generally performed on an entire file. The encoded data is prefixed with a header line and terminated with a trailer line. The header line is of the form "begin permissions remote-file" while the trailer line consists of the sngle word "end". Remote-file is the name of the file to be created by the uudecoding process (unless overridden). Permissions refers to the UNIX file permissions word and is an octal number. Phantom always sets the permission word to 777.

Example

UUDecode InputFile="myBinaryFile.uue" OutputFile="myBinaryFile.bin"

The above statement UUDecodes the data contained in the file "myBinaryFile.uue" and places the result into the file "myBinaryFile.bin."



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

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