Base64 binary to file

Hi @kishoretg,
This is the real code.
Dim bytes As Byte() = Convert.FromBase64String(base64BinaryStr)
File.WriteAllBytes(“FolderPath\pdfFileName.pdf”, bytes)

Explanation…

  1. Using the Assign activity Convert.FromBase64String(base64BinaryStr) to store the byte array variable(arrByte).
  2. Use the method invoke to invoke the files’s writeAllbyes.

Invoke method :slight_smile:

Regards
Balamurugan.S

4 Likes