UUEncodeStart

The UUEncodeStart function begins UU binary file encoding.

UUEncodeStart FileName

Parameters

FileName
The name of the file to encode.

Return value

The function returns True if successful. Otherwise, returns False.

Notes

The base64 encoding is another way to represent the binary data as ASCII text strings. If you want to send a binary file with SMTP or NNTP protocol, you should transfer it into text representation first. The function starts UU encoding of binary file. You can use this function if you want to send binary files, with SMTP or NNTP protocol. After calling UUEncodeStart, the subsequent callings of UUEncode will do the encoding and will return the text strings.
The opened UUencode stream is closed when the SHOTIP.Connection object is released. If you want to close it before your program will be finished, you should call the UUEncodeStart with zero length string argument.

Example
See UUEncode.