[thelist] .net webrequest help?

Scott Dexter dexilalolai at yahoo.com
Thu May 11 16:24:31 CDT 2006


I remove those, and I get an Adobe error about the document is damaged and could not be repaired. Shrug.

----- Original Message ----
From: Peter Brunone (EasyListBox.com) <peter at easylistbox.com>

Hi Scott,

   This is just idle speculation, but what if you remove the Response.End and Response.Close statements?  They shouldn't be strictly necessary, and I don't think I've ever used them when streaming a file to the client (or when I'm not).

HTH,

Peter

  		  				  				From: Scott Dexter <dexilalolai at yahoo.com>

I'm trying to grab a pdf document from one site, slurp it in, then spit it out to the browser. Why? I have to pass authentication information so the end user doesn't have to do it. So anyhows, I'm like 90% there. I get the pdf from the site, but when I spit it out to the browser, I get a blank pdf; it's like not all the data is getting streamed to the browser.







More information about the thelist mailing list