Copy link to clipboard
Copied
would like to make link to PDF automatically open the 'save as' window and/or auto-download to user's computer.
form fields are not displaying in certain browsers.
How can I do this? Thank you!
Copy link to clipboard
Copied
You can't. It's up to the user how the file is going to be opened/viewed on their machine. The best you can do it recommend to them to save it instead of opening it inside their browser window (or you could place the file in a zip archive, to force them to first save it locally and only then open it).
Copy link to clipboard
Copied
OK, thanks for the options.
Copy link to clipboard
Copied
You would have to do this with a server-side script; such as, PHP or ASP.net; but, it depends on your server's OS language
Example: ASP.net (C#):
try {
Response.ContentType = "application/pdf";
Response.AddHeader("content-disposition", "attachment; filename=" + FileName);
Response.WriteFile(FilePath);
Response.End();
} catch (Exception Ex) {
Err.Clear();
}
Copy link to clipboard
Copied
can PDF somehow have a popup overlay when opened in a browser that prompts user to save and print, especially if a real signature is needed?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now