P
pbearne
Hi
I need to load an url which should return an pdf/doc file or and html
page if file not found I then need to return this file to the
request(client) as ether as a download using
Response.AppendHeader("Content-Disposition", " attachment; filename=" +
fileName); or inline
Effectly I need to make a web page work as a proxy
This is for a document system where some of the file are in a local
store and some of the file are on remote webservice I need to hide the
source location from the users so all they know is the the url of a
document is fietch.aspx?docid=1234 so i can control access etc.
the local file is easy i am using
"Response.TransmitFile(pathAndFileName);" But Ican't find the code to
stream in and response an remote URL
Any pointer / code will help
Paul
I need to load an url which should return an pdf/doc file or and html
page if file not found I then need to return this file to the
request(client) as ether as a download using
Response.AppendHeader("Content-Disposition", " attachment; filename=" +
fileName); or inline
Effectly I need to make a web page work as a proxy
This is for a document system where some of the file are in a local
store and some of the file are on remote webservice I need to hide the
source location from the users so all they know is the the url of a
document is fietch.aspx?docid=1234 so i can control access etc.
the local file is easy i am using
"Response.TransmitFile(pathAndFileName);" But Ican't find the code to
stream in and response an remote URL
Any pointer / code will help
Paul