Hi,
I have a pdf form with the fields and attachments. I was successfully able to save the field values to backend database, but my biggest challenge is to get attachments from the pdf form.
If anyone has done this before please help me, really appreciate it. I just have to export the pdf attachments when a form is being submitted. It would be nice if the attachments are directly saved to MySql database or saving on a specific path on the server also works.
Appreciate You help ..
Thanks
Rao
ANSWER:
If it is multiple forms or multiple submissions:
You can submit to a server-side script (ASP.net, PHP, Coldfusion), and take the binary input buffer, and use iText (or iTextSharp). iText could then extract the PDF file attachments, and you can save the binary (bytes) to file, output buffer or database. iText is Open-Source, and free.
If it is a single form:
Use iText for JAVA or iTextSharp for C#, along with your favorite programming language.
QUESTION:
What language are you familiar with or plan on using
+ VB.net / C#
+ ASP
+ ASP.net 1.1, 2.0, 3.0, 3.5
+ PHP
+ Coldfusion
NOTES:
iText is for JAVA. iText has also been transcribed to C# (.Net), and it's called iTextSharp.
Google iText
Regards,
Nick K.
NK-Inc.com
FDF Toolkit .net: ASP.net library for PDF
Email PDFs with PDF Email .net