Using external app on server
-
I have an ASP.NET that needs to create PDFs files on the server, then zip them up and send them to the client. Do you have any suggestions? The idea is to gather a list of component drawings (the PDF's), an XLS file that lists each component, zip the PDFs and XLS together and offer to user with a 'Save As'. No problem generating a PDF, but having problems saving the PDF file, - using response.redirect and it's not releasing the resource(?) so I can move to get the next file... Environment: VS2008, ASP.NET, IIS6, Win2k3 Thank you in advance
Tom
-
I have an ASP.NET that needs to create PDFs files on the server, then zip them up and send them to the client. Do you have any suggestions? The idea is to gather a list of component drawings (the PDF's), an XLS file that lists each component, zip the PDFs and XLS together and offer to user with a 'Save As'. No problem generating a PDF, but having problems saving the PDF file, - using response.redirect and it's not releasing the resource(?) so I can move to get the next file... Environment: VS2008, ASP.NET, IIS6, Win2k3 Thank you in advance
Tom
You will need a line like this: response.ContentType = "image/jpeg"; for the browser to offer to save as. The "image/jpeg" might be "application/pdf". Dont know for sure.