1 MFTU The Mail File Transfer Utility Program It encodes VAX/VMS files to a text file that can be handled by mailers, and decodes encoded files. It Huffman packs files for archive purposes, and unpacks packed files. 2 ENCODE Will encode the files to a text file. Format: ENCODE file-spec[,...] 3 Parameter The files to encode. Wildcard file specification allowed. 3 /LOG /LOG (D) /NOLOG Will tell which files are to be encoded. 3 /DELERR /DELERR (D) /NODELERR Created file will be deleted when a fatal error occurs. 3 /OUTPUT=file-spec (D OUTPUT=ENCODING.MFT) What will be the name of the encode file. 2 DECODE Will decode the text files to original. Format: DECODE file-spec[,...] 3 Parameter The files to decode. Wildcard file specification allowed. 3 /CONFIRM Asks for every created file for confirmation. 3 /CRC /CRC (D) /NOCRC Gives a warning if a CRC error occurred. 3 /DELERR /DELERR (D) /NODELERR Created file will be deleted when a fatal error occurs. 3 /LIST Gives a listing of the files to be created when decoding. 3 /LOG /LOG (D) /NOLOG Will tell which files have been decoded 2 PACK Will huffman pack the files. It is possible to append two or more huffman packed files. Unpack recognizes them as different files. Format: PACK file-spec[,...] 3 Parameter The files to encode. Wildcard file specification allowed. 3 /LOG /LOG (D) /NOLOG Will tell which files are to be encoded. 3 /DELERR /DELERR (D) /NODELERR Created file will be deleted when a fatal error occurs. 3 /OUTPUT=file-spec (D OUTPUT=PACKING.PCK) What will be the name of the packed file. 2 UNPACK Will UNPACK the packed files to original. Format: UNPACK file-spec[,...] 3 Parameter The files to unpack. Wildcard file specification allowed. 3 /CONFIRM Asks for every created file for confirmation. 3 /CRC /CRC (D) /NOCRC Gives a warning if a CRC error occurred. When that happens data is not correct. 3 /DELERR /DELERR (D) /NODELERR Created file will be deleted when a fatal error occurs. 3 /LIST Gives a listing of the files to be created when unpacking. 3 /LOG /LOG (D) /NOLOG Will tell which files have been decoded 2 Example There are several methods to use MFTU. 1) $ RUN MFTU MFTU> ENCODE FOO.EXE %MFTU-I-ENCODING, encoding disk:[dirpath]FOO.EXE;vers. Now there is a file ENCODING.MFT $ RUN MFTU MFTU> DECODE encoding.mft %MFTU-I-DECODED, decoded disk:[dirpath]FOO.EXE;vers, 20 blocks. 2) As foreign command. $ PACK:==$disk:[dirpath]MFTU PACK $ MFTU:==$disk:[dirpath]MFTU $ PACK/NOLOG/OUTPUT=FOO.PCK FOO.EXE $ MFTU UNPACK FOO.PCK %MFTU-I-DECODED, decoded disk:[dirpath]FOO.EXE;vers, 20 blocks. 3) As command. $ SET COM MFTU $ MFTU DECODE encoding.mft %MFTU-I-DECODED, decoded disk:[dirpath]FOO.EXE;vers, 20 blocks.