HLRosenberger
asked on
Help with sending PDF contents to server when Hyperlink Clicked.
I'm creating a PDF that has a hyperlink. The hyperlink takes me to my own WEB page that I will be creating. I want to send the contents of the PDF to the server page when the link is clicked. How can I do this? Generally, I know how to send a file to a page on a WEB server. But since this is just a link in a PDF, how do I do this? Do I need to add Javascript to the PDF?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you want to send the complete PDF content on click of a link with in the PDF? then no it's not possible, you scenario seems to be like doing a file upload from javascript with in the PDF. I am very sure PDF security wouldn't allow you to do something like that.
ASKER
Ah, I found a much better way to do what I want. Acrobat JavaScript API has a JavaScript method that allows for emailing the PDF.
ASKER
Thanks
ASKER
When they click on the hyperlink in the PDF, it goes to my WEB page. But couldn't I instead add JavaScript behind the hyperlink, and then use standard HTTP transfer mechanisms in my Javacsript to send the file to the WEB page? I've done this before using JavaScript on the client.