Hi
I have an ASP script which is given a filename as a parameter & must then download a page containing the PDF file
So, I have
Response.ContentType = "application/pdf"
FilePath = Request.QueryString("docPath"
FileName = Right(FilePath,Len(FilePath)-InstrRev(FilePath,"\")
Response.AddHeader "Content-Disposition", "filename=" & FileName
I then use Response.BinaryWrite to dump out the PDF
I'm getting funny results.
IE5 on windows struggles, but does the jib
IE4 on Mac just dumps the PDF as a file on my desktop (using the name of my ASP script!)
Regards
Barry
I have an ASP script which is given a filename as a parameter & must then download a page containing the PDF file
So, I have
Response.ContentType = "application/pdf"
FilePath = Request.QueryString("docPath"
FileName = Right(FilePath,Len(FilePath)-InstrRev(FilePath,"\")
Response.AddHeader "Content-Disposition", "filename=" & FileName
I then use Response.BinaryWrite to dump out the PDF
I'm getting funny results.
IE5 on windows struggles, but does the jib
IE4 on Mac just dumps the PDF as a file on my desktop (using the name of my ASP script!)
Regards
Barry