These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Writing a PDF to a Database

lauchman
Registered: Aug 20 2007
Posts: 7

Morning,
I'm looking for help writing a PDF directly to a database. I'm having trouble grasping the mechanics of the process.
 
I understand the server side mechanics and the SQL portion, I believe my confusion is with the process that gets the PDF back to the server.
 
My situation is this:
I need to serve a signature-enabled PDF to a client. Enabling the signature is complete. Once the client signs the document I need to archive the signed PDF in my RDMS.
 
I've explored Designer's options to POST the PDF back to my server via HTTP, but if there's a way to send the PDF DIRECTLY to the RDMS, this would solve all sorts of web server security issues.
 
Any technical advice would be most appreciated.
 
Thanks in advance.
 
--Paul

My Product Information:
LiveCycle Designer, Windows
leonardr
Expert
Registered: Feb 14 2006
Posts: 333
There is no way to "post" to a database. You would need either a standard web "CGI/ASP" or a modern web service (SOAP) running to retrieve the PDF.

Leonard Rosenthol
PDF Standards Architect
Adobe Systems

lauchman
Registered: Aug 20 2007
Posts: 7
I guess I need to see an example ASP that receives the PDF.

I've written an ASP that successfully accepts a binary file sent via an HTTP POST. When I test the file from another ASP, sending a binary attachment as an HTTP POST, all works fine. I can save the file to disk or write it directly to my DB.

When I test from w/in a PDF via a standard "button" object, the ASP just hangs. The button object's control is set to "submit," the destination URL is verified, and the submit type is "PDF." But nothing -- script times out. I've tested this same script both ways (called from w/in and w/out PDF) on two separate web servers with the same results.

Can anyone point to an example ASP that receives a PDF sent via an object's "submit" when the object's "Submit As" set to "PDF?"

Thanks --