security.Base64.SaveBinary

Decodes the given base64 string and writes the data to a file.

Syntax

security.Base64.SaveBinary(
  path STRING,
  data STRING )
  1. path is the path to the binary file
  2. data is a base64 string to be written.

Usage

Decodes the given Base64 string and writes the binary data to the file defined by path.

This method can be used to save data from a network on the disk.

Throws an exception in case of errors, and updates STATUS with an error code.