1T3XT BVBA <info <at> 1t3xt.info> writes:

> 
> On 28/01/2013 17:28, Manshu Tripathi wrote:
> > Now for the destination location how can i give
> > a URL as a destination i.e if I want the merged PDF to be saved at a URL
> You're joking, aren't you?
> If what you were asking was possible, one could save a PDF to any URL 
> (such as google.com).
> If you want us to answer your question, you'll have to be more specific.
> 
> -----------------------------------------------------------------------------
-
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> iText-questions mailing list
> iText-questions <at> 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
> 
> 

I am sorry if I am not clear.What I mean is I have a location on my server 
where I have pdf1 and pdf 2.I want to generate a pdf(mergeFile.pdf) which 
contains both pdf1 and pdf2.By URL i actually mean a location on my server 
which I will specify in my code.I did the below code


  pdfs.add( new URL ("http://localhost//Test/Temp/3840328.pdf";).openStream
());  
  pdfs.add(new URL(""http://localhost//Test/Temp/3051003.pdf";).openStream()); 

 File mergeFile = new File ("C:/Websites//wwwroot//test//Temp//mergeFile.pdf");
            
 OutputStream output = new FileOutputStream(mergeFile);

 concatPDFs(pdfs, output, true);

I get the error java.io.FileNotFoundException: C:\Websites\wwwroot\intake\805
\Temp\mergeFile.pdf (The system cannot find the path specified)

at the line  OutputStream output = new FileOutputStream(mergeFile);
I did a system out after the new File line to see where it is actaully 
failing .It fails when i do new FileoutPutStream 

Thanks,




------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
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