|
-
Feb 27th, 2001, 02:08 AM
#1
Thread Starter
Hyperactive Member
Hi,
Im working on allowing the users to upload files to the server using ASP. Im using
Code:
<input type="file" name="fName">
to allow the users to select the file.
If the user has already uploaded a file, I want to display the name of the uploaded file. Im storing the uploaded filename in a variable.
My problem is
Code:
<input type="file" name="fName" value="<%Response.Write strPhoto%>">
is not working. Any ideas why???
Thanx.
-
Feb 27th, 2001, 05:25 AM
#2
Try Response.write(strPhoto)
-
Feb 27th, 2001, 11:01 PM
#3
Thread Starter
Hyperactive Member
Marcel,
That doesnt work either. But when I view the source of the page the value is there.
Code:
<input type="file" name="fName" value="D:\INETPIN\back.gif">
Any ideas??? Is it not possible to set the value property directly???
Thanx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|