Late Ramadhan Mubarak infact very late May aswell wish you all a Eid Mubarak at this stage!
Anyway heres a problem i was scratching my head over
We tend to use Magento CMS System for our E-commerce based website and for NasheedChannel.com (Some Great Nasheeds there btw do check it out :D)
Anyway We offer the option of Digital Download for our mp3 products so people can purchase single tracks or the entire album
So we had a few issues from customers when they purchased the full album which was infact a .zip file containing all the mp3 tracks in there that after they downloaded it the file was corrupted and could not open it, this was only after being redirected the the product download link via their control panel in magento
Tried downloading it directly from the link works fine…
so it must be the way Magento is translating the URL for download (It does not give the direct URL for good reason) it comes with a different URL with a bunch of random generated characters which is good
But anyway there was a few suggestions on the internet floating around about changing .htaccess files and messing about with them …tried it all did not work
Then realised that When magento passes the URL it Compresses it again
So we already had a zip file with the mp3 that was compressed…..so when a customer purchases the the .zip file it does it again
So the best solution for this is that if you need to upload a Zip file ensure that NO COMPRESSION is set from winrar you choose “No Store” or winzip “No compression” upload it and it worked!
Yes file sizes are larger but if you cant be bothered messing around with .htaccess files etc then this is a workaround that works
Wassalam for now!