So i have a PDF file on my server, i can open it up and it looks fine.
I then try to serve the file with this code
Response.ContentType = "Application/pdf";
Response.AppendHeader("Content-Disposition", "attachment; filename=Filename.pdf");
Response.TransmitFile("C:\\Temp\\Filename.pdf");
Response.End();
This serves the file, it saves on the client, but the problem is this new file is about .05Mb larger than the original, and when you try to open it the PDF is corrupt.
Any ideas?