Available for: Content Management Server, Template Engine, Search Engine Server

Task: Decodes the specified base64-encoded string and writes it in the specified file.


decodeFile filename encodedString

Function parameters:

  • filename is the name of the file.
  • encodedString is the base64-encoded string.

Return value if successful: 1

Necessary permissions (CM only): no restrictions