Google Drive REST API – Corrupted ZIP file after upload
I’m using the Google Drive REST API to upload a ZIP file but all my ZIP files become corrupted after the upload. When I download the file and then try to unzip it on my computer, on MacOS it says “Unable to expand ‘FILE_NAME.zip’ into FOLDER. Error 79 – Inappropriate file type or format.”. I made sure it wasn’t just my computer by having another person on a different computer try to unzip it and they had the same problem. I also confirmed that the ZIP file wasn’t becoming corrupted before I uploaded it to Google Drive.