You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Giannis F.
7 years agoHelpful | Level 7
How do I open PDF files from Dropbox on Android devices?
Hello :-)
There is a problem with PDF files. They do not open when downloading in android devices :-(
The dropbox link is ?dl=1
There isn't any problem when downloading in Desktop PC and Apple ...
- 7 years ago
Thanks for the reply Giannis F. and sorry to hear this persists.
Do you notice the same behavior on other browsers other than the one you used so far?
Remember the "dl=1" parameter at the end of shared links should tell the browser to download the file(s) instead of attempting to display it so this seems to be an issue caused by the browser you use (as you say, the files and links are working fine).
Let me know what you find.
Walter
7 years agoDropbox Staff
Sorry to hear about this Giannis F. - could you please let me know how are you generating those shared links to begin with?
Could you try replacing the "?dl=1" parameter to "?dl=0" (or to "?raw=1" if you'd like these files to render on other websites) and let me know if the issue persists?
Thanks!
- kiralyanda6 years agoNew member | Level 2
I have a similar problem, but I'm using the official Dropbox addon for Gmail, so modifying the URL parameter isn't an option. The shared files can not be opened in Gmail for Android. Tested in various devices and the message is the same: "Cannot display PDF (filename.pdf is of invalid format)". The file itself is OK, can be opened on all devices if sending as attachment and also OK on a desktop computer. (BTW what grammar is this "something is of invalid"? Why not just "something is invalid"? Or is it a different meaning?)
The addon generates a "?dl=0" URL and because I'm curious I tested the link without the addon. The result is same: can't open. Tried with "?dl=1", same result with a little different error message: "Cannot display PDF (filename.pdf cannot be opened)"
Obviously I doesn't open my emails and also usually doesn't receive Dropbox files this way, so I'm not sure if this method is broken all the time or it's a new bug.
What do you think about this?
Thanks in advance,
András.- FrustratedTeach6 years agoHelpful | Level 5Dropbox never replied to my inquiry, so I ended up moving all my files to Google Drive and sharing through there. I just have a floating account here now.
- Daphne6 years agoDropbox Staff
Hey kiralyanda,
To look into this a bit further, would you mind if I reached out to the email address associated with your Community profile? Otherwise, if you already have a ticket open with our Support team for this, then please let me know the ticket reference number (eg. #1234567) so that I can follow up there.
Let me know - Thanks!
- tondija6 years agoExplorer | Level 4same problem here, drobox link...
?dl=0
wont open in chrome
... I am moving to Drive, its a shame
- Giannis F.7 years agoHelpful | Level 7
Thanx for the immediate answer.
I generate them through the "Share" button > "Create a link" into Drobox.
When I use ?dl=0 file opens normally
When I use "?raw=1" it downloads normally and opens the PDF file !
>> But please don't tell me to chance the urls to ?raw=1 in my 5.000 files :-( I did that again in previous year when you changed the share method > It took me 2 months, not againg please.
Please help me :-(
and fix the ?dl=1 link
- Walter7 years agoDropbox Staff
Thanks for the reply Giannis F.!
When I click on the "Share" button on my end, the shared links that are generated end in "?dl=0" by default - are you seeing this behavior on shared links you created in the past or new ones?
If this is not too much of a problem for you, could you please share a link that's giving you this problem here with me so I can investigate further?
- Giannis F.7 years agoHelpful | Level 7
Thanx again for the interesting Walter :-)
No, the old links were Ok, only the new links have that problem.
I change manually the ?dl=0 to ?dl=1 because I want the files to download in user's device, not just to open.
This is an example link that downloads the file in android smartphons, but the file does not open:
https://www.dropbox.com/s/xgncoaff8as540c/OlympiaTraveller.pdf?dl=1
:-)
About View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.
Need more support
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 or Facebook.
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!