M
Michael
I am trying to open a file on the client machine from an aspx page running
server side. The design requirements of the page specify that the
HtmlInputFile control is not to be used.
Since the HtmlInputFile has an HttpPostedFile object containing the client
side path to the selected file, there must be some way to resolve this path
server side allowing me to open the file with as Stream object..
I've been looking at WebClient.OpenRead, specifying
file://c:\clienddir\file.txt as the uri, but run into a file not found
error.
How exactly does one map a client side path so the server can access it?
Michael White
Programmer/Analyst
Marion County, OR
server side. The design requirements of the page specify that the
HtmlInputFile control is not to be used.
Since the HtmlInputFile has an HttpPostedFile object containing the client
side path to the selected file, there must be some way to resolve this path
server side allowing me to open the file with as Stream object..
I've been looking at WebClient.OpenRead, specifying
file://c:\clienddir\file.txt as the uri, but run into a file not found
error.
How exactly does one map a client side path so the server can access it?
Michael White
Programmer/Analyst
Marion County, OR