Hello,
My app receives a ZIP file as a BASE64 encoded text file. It´s just a 80k file with a .db file inside.
The file is encoded by a PHP web app using standard functions. I dont´t have access to this server, so I can't change anything. I just receive the file as is.
I save this file as zipfile.txt to DirDefaultExternal.
I need to know how I can decode this file back to zip.
I have no idea how can I do this, not even in my windows notebook.
I know how to open the ZIP in my app, after it is decoded. I read the file to a string, and tried the Agraham's Encryption lib with no success, the result file is corrupt.
I'm using "UTF8" to decode with this libray. Is this OK?
Thanks!
My app receives a ZIP file as a BASE64 encoded text file. It´s just a 80k file with a .db file inside.
The file is encoded by a PHP web app using standard functions. I dont´t have access to this server, so I can't change anything. I just receive the file as is.
I save this file as zipfile.txt to DirDefaultExternal.
I need to know how I can decode this file back to zip.
I have no idea how can I do this, not even in my windows notebook.
I know how to open the ZIP in my app, after it is decoded. I read the file to a string, and tried the Agraham's Encryption lib with no success, the result file is corrupt.
I'm using "UTF8" to decode with this libray. Is this OK?
B4X:
B64.DecodeStoS(text, "UTF8")
Thanks!