function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

decoding base64 of "zipFile" from metadata api call : retrieve

Hi, does anyone know why I can not decode this string bellow correctly..?
Upon seeing metadata wsdl, zip file is base64binary, so I tried to decode as base64 manytimes..but ghost charactoers coming...

Yes, my environment is based on utf8 charset but something seems wrong with it...

-- original zip file value by meta data api ---

--- result of decoding --
......reports/Folder_3/・T]kテ }マッ(y_枻 cX??エ飃フ`OE醐Д?~?O聴ヘセX怜)sッGッWxソ+驚?#?菶テ?熬ゥ\ネマネ葢ヨソG Lx・エ 8ア4c?レ?- ....

Thanks in advnace
once you've base64 decoded it, you're left with a byte array, that is a zip file. You need to then unzip the file to get the actual directory tree of files.
Thank you so much, simon. It works well to unzip it and see metadata that I expected.

Thank you very much again.
Helton Carlos de MouraHelton Carlos de Moura
And how did you decompose?