writeFileBase64

write a complete file from a base64 encoded string

Syntax

writeFileBase64(filepath, contents)

Returns

returns (bool) true on success

Parameters

filepath (string)
path to non-existing file
contents (string)
file contents as string in base64 encoding