Open pdf in adobe instead of downloading






















If the PDF file is inside some folder and that folder doesn't have permission to access files in that folder directly then you have to bypass some file access restrictions using. If you link to a. PDF it will open in the browser. If the box is unchecked it should link to a. How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How do I force files to open in the browser instead of downloading PDF? Ask Question. Asked 10 years, 5 months ago. Active 5 months ago. Viewed k times. I tried using the embed tag and an iframe, but it only works when that option is checked.

What can I do? Improve this question. Peter Mortensen Add a comment. Active Oldest Votes. Improve this answer. Quentin k gold badges silver badges bronze badges. ColinM ColinM Taboada but then the user's system may not know the file type.

Perhaps if you want to override the user's preferences then octet-stream would be the way to go, but giving the correct type and a suggested filename is the "correct" way to provide a download.

So my question is should the content type be set before uploading? And also, we get only a link from the backend team, a url that gives the file path, that we open in new tab using:window. Kailas I don't understand what you're trying to do.. These headers have no effect on a file upload, you need to have the code behind the url set the headers every time it is downloaded by the client.

ColinM Thanks buddy, you said it right, the issue when we debugged was the mime type was set while uploading the files. This should be done by the back-end team. I tried to get codes on how to add headers in java script but was not successful. Thanks, as I got the real idea cleared from you Show 5 more comments.

It uses the custom filename specified on the view side. Christophe Roussy Christophe Roussy Akshay Akshay 2, 3 3 gold badges 32 32 silver badges 70 70 bronze badges. If you have control over the server code you should use 'attachement' as this will allow to use the same filename generation code.

If you have no control over the server this is a good solution. Neither gave me what I wanted. Right click a pdf file on your system. After this whenever you would click the downloaded file, it would open as a solo file outside of chrome in Adobe reader.

I think you didn't understand what I want Did you mention where that 'random pdf' is located? If your 'random pdf' is outside of chrome and you want it to open in chrome. You just have to change the default program. And in my experience, you can't have two default programs for two different situations for a single file type. Show 1 more comment. Cristian Ciupitu 5, 2 2 gold badges 32 32 silver badges 46 46 bronze badges. This should solve the problem! Alisa Alisa 4 4 silver badges 8 8 bronze badges.

It is in the "Contents settings". To find it, you can search in the provided edit box i. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.

Email Required, but never shown. The Overflow Blog. Podcast Who is building clouds for the independent developer? Exploding turkeys and how not to thaw your frozen bird: Top turkey questions Featured on Meta. Thank you Rahul5E6F and defaultzftyv9aalkmv , I will try these options. I do have it set to enable for all users, although I see the ability to also indicate the users I want to ensure have use of this, which may come in handy later as well.

I will try these and report my findings here for future use. Thanks again! Welcome to the Community! Skip Take tour. Adobe Support Community. Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for. Show only Search instead for. Did you mean:. Follow Report. Community guidelines. Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.

Learn more. Jump to latest reply. Tariq Dar. Hi laurah, Sorry to hear about the experience. In Response To Tariq Dar. I have the same problem. Have you found a solution? In Response To stefanom Hi stefanom and laurah, I would require the few sample files which exhibits the behavior.

In Response To roberts In Response To laurah Glad I could help. In Response To brajeshk Thanks Again! Brajesh, Is this a limitation by the microsoft file handler specifically with the interfacing of Adobe Cloud? Eithere way is there any link you can point to? I'm trying to gauge how accurate that will be as we are 10 days away till the end of October.

Brajesh, Not sure if anyone has notified you but the File handler issues appear to have been fixed. Christian LeBourgeois. Hi Christian , Thanks for trying out. Hi Brajesh, We are having this same issue, but with documents that have a hash in the name.

In Response To Henry5E Hi Henry, Your understanding is correct. Hi Brajesh, Thanks for the update, appricate it. Best, Henry. Hi, Brajesh Seems like the problem have been fixed, but in my case, that problem still occurs when I open a pdf file via the Adobe cloud Our files are in Thai language that might cause a long length of the URL for the PDF.



0コメント

  • 1000 / 1000