The ENCODE command will BASE64 encode the contents of specified FROM file.
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. |
ENCODE FROM(data.txt) TO(encoded.txt) FOLD(*YES)