We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Saving the output of a merged file to a different file share

Hi,

Is it possible to save the output of a merged file to a different file share? In ASP.NET Web aplication.

I was able to merger pdf file and save it to my C drive but I was trying to save it to a different file share location

For example: Following works

var outputFile = "c:\\Temp\\pdf\\Merged.pdf";
doc.Save(outputFile);

Following does not
string fileName = "\\\\servername\\Test\\Merged.pdf";
var path = Server.MapPath(fileName);
doc.Save(outputFile);

please advice,
-Naresh.

2 Replies

NM Naresh Macha September 8, 2009 04:14 PM UTC

sorry, I meant

doc.Save(path);

not

doc.Save(outputFile);


TE Thiruvenkadam E Syncfusion Team September 15, 2009 12:03 PM UTC

Hi Naresh,

Thank you for your interest in Syncfusion products.

Save the output of a merged file

Could you please find the sample from the below location and let me know if this helps.

http://files.syncfusion.com/support//Pdf.Web/F89845/Merge.zip

Please let us know if you need any further information.

Regards,
Thiru

Loader.
Live Chat Icon For mobile
Up arrow icon