PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
Internet Explorer prefers it if you sent the "Content-Length" header as well - otherwise you're likely to get a blank page as a result. This is simply the number of bytes in the PDF file.
Cheers... Mike -- ---------------------------------------------------- Mike Bremford - CTO [EMAIL PROTECTED] Big Faceless Organization http://big.faceless.org
JR wrote:
PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
'ASP.NET Example ----------------------------- <%@ Language=VBScript %> <% Dim Fname as String Fname = "resume.pdf"
Response.ClearContent() Response.ClearHeaders() Response.ContentType = "application/pdf" Response.WriteFile(Fname) Response.Flush() Response.Close() %> -----------------------------
--- Dan Reese <[EMAIL PROTECTED]> wrote:
Hello,
I have, what I hope, is a very basic question. I
have PDF Files stored on a web server that I want to
serve to users on the web. For security reasons, I
cannot directly serve the PDF off the file system. I want to read the PDF off disk, using ASP, ASP.net
or Perl and serve it to the user. I haven't been
able to locate any example code on the web, so I was
hoping someone here has done this and would be
willing to share some code.
If you could email me directly, as well as the list, I would appreciate it.
Thanks
Dan
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
