5.4.3 ENCODE
The ENCODE command will BASE64 encode the contents of specified FROM file.
Syntax:
Command |
Keyword |
Value |
Developer notes |
ENCODE |
FROM |
value |
Required. File Path. |
TO |
value |
Required. File Path. |
|
FOLD |
*YES |
Optional. Add CRLF every 76 characters. |
|
*NO |
Default. |
||
REPLACE |
*YES |
Optional. Replace existing file. |
|
*NO |
Default. |
Example
ENCODE FROM(data.txt) TO(encoded.txt) FOLD(*YES)