Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
kamzata
4 years agoExplorer | Level 3
Since 31/01/22 all the download files become corrupted.
I own a Magento 1.9.4.2 store which has only downloadable products in it. Once a customer buy a digital product, Magento sends an email with the download link generated by Magento itself from the Dro...
kamzata
4 years agoExplorer | Level 3
Thanks for your support.
Greg-DB
Dropbox Community Moderator
4 years agoUpdate: in order to temporarily accommodate clients that don’t properly support automatically handling “Transfer-Encoding: chunked”, we’re temporarily rolling back this change, so that these links will no longer use “Transfer-Encoding: chunked” and will instead return “Content-Length” on HTTP/1.1. We will begin rolling that out starting around 2/17. That will be in place until around 3/1. At that point, we will begin using “Transfer-Encoding: chunked” and no longer returning “Content-Length” on HTTP/1.1 again.
Going forward, please ensure that your clients are able to automatically handle both chunked encoding and non-chunked encoding automatically.
- kamzata4 years agoExplorer | Level 3
Then I'll set it like this:
if ($fileSize = $helper->getFilesize()) { $this->getResponse()->setHeader('Content-Length', $fileSize); } else { $this->getResponse()->setHeader('Transfer-Encoding', 'chunked'); } - Greg-DB3 years ago
Dropbox Community Moderator
Update: the team has been able to complete some further updates to our infrastructure to be able to support the previous non-chunked behavior going forward indefinitely. That means that we plan to continue returning Content-Length (and not 'Transfer-Encoding: chunked') in the future and will not be reverting this as previously planned. (Regardless, for HTTP compatibility in general, we still recommend you make sure your HTTP clients support both types.) Hope this helps!
- kamzata1 year agoExplorer | Level 3
I noticed, since around September/October 2023, downloads really often (8 in 10 times) are interrupted at different size. And just now I remembered this issue.
Did you change something again?
- Greg-DB1 year ago
Dropbox Community Moderator
kamzata I moved your message to its own thread here: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Since-31-01-22-all-the-download-files-become-corrupted/td-p/754307
Please follow up there with the details so we can look into the current issue for you.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!