4D v13.2IT_Encode |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.2
IT_Encode
IT_Encode
The IT_Encode command encodes a file using the encodeMode specified. The specified file will not be altered and an encoded copy will be created. The name of the encoded file created will be the original file name plus a suffix appended to specify the encoding method. For Binhex encoding, the suffix ".hqx" will be appended. For Base64 encoding, the suffix ".b64" will be appended. For AppleSingle encoding, the suffix ".as" will be appended. fileName takes a full pathname specification to a file you want to Encode. If an null string is passed in this parameter the user will be prompted with a dialog to select a file. encodedFile can be passed:
encodeMode identifies which encoding method to apply to the file. The default value is 1 for binhex encoding. Other methods are:
When encoding using AppleDouble (encodeModes 4 & 6), two files are created named "%filename" and "filename". |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D Internet Commands 6.8.1 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||