But now if I try downloading the file (e.g 6.zip) it downloads it as a zip but the zip file seems to be corrupted after download. Instead of unzipping it just creates a new archive 6.zip.cpgz.
I checked the secure bucket folder where the files are being uploaded, and the zip file is OK there so it must get corrupted after the download request.
Ok, that's interesting. It's being set as
Content-Type: text/html; charset=utf-8
Yeh, weird. It downloads it as Song.html, so that would be the cause of that
I don't understand why that would be happening, I'm afraid.
I tried solving this problem by uploading only ZIP files as product files and editing my deliver page routing to:
My files_list template to
But now if I try downloading the file (e.g 6.zip) it downloads it as a zip but the zip file seems to be corrupted after download. Instead of unzipping it just creates a new archive 6.zip.cpgz. I checked the secure bucket folder where the files are being uploaded, and the zip file is OK there so it must get corrupted after the download request.
Ok. I'm not really sure what to suggest you do.