AutoIt
AutoIt
Decode Base64 to Zip File
See more Base64 Examples
Shows how to decode a baes64 string that is the encoded representation of the bytes that make up a .zip archive. Decodes the base64 and writes the .zip file.Chilkat AutoIt Downloads
Local $bSuccess = False
Local $sB64 = "UEsDBBQA ... AAALgQAAAAA"
$oZipData = ObjCreate("Chilkat.BinData")
$bSuccess = $oZipData.AppendEncoded($sB64,"base64")
$bSuccess = $oZipData.WriteFile("qa_output/out.zip")
If ($bSuccess <> True) Then
ConsoleWrite("failed to write Zip file." & @CRLF)
Exit
EndIf