I need help saving pdf forms that are embeded in my webform to my webserver. I 
cant get it to work, i need to save the full pdf because it has signatures.
 
         try
            {                
                //save to web servers file system
                var output = new 
FileStream(Server.MapPath("~/Forms/MyFirstPDF.pdf"), FileMode.Create);
                using (Stream input =  Request.InputStream)   
                {
                    byte[] buffer = new byte[8192]; 
                    int bytesRead; 
                    while ((bytesRead = input.Read(buffer, 0, buffer.Length)) > 
0) 
                    { 
                        output.Write(buffer, 0, bytesRead); 
                    } 
                } 
            }
            catch (Exception ex)
            {
                Label1.Text = ex.Message + "<br>" + ex.StackTrace;
            }                                     
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to