If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

Reading & Writing to a file on client machine

I have an ASP app where I use the <input type=”file” name=”MyBrowse”> control
in my form. I would like the user to be able to specify a file on their
machine for some purpose. When doing this the user is able to use the browse
dialog to find and select a specific file however, when they submit the form
and the ASP code grabs the file name selected by the user using strFile =
request.form("MyBrowse "), the value in strFile if “C:\MyText.txt” for instance.
The problem is the Web server thinks to look on the local C: drive not the
client’s C: drive where the file exists.