PDA

Click to See Complete Forum and Search --> : problem....


rammy
Feb 23rd, 2001, 05:01 AM
Hi,

Im working on allowing the users to upload files to the server using ASP. Im using


<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 filename. Im storing the uploaded filename in a variable.

My problem is


<input type="file" name="fName" value="<%Response.Write strPhoto%>">


is not working. Any ideas why???

Thanx.

Jerry Grant
Feb 23rd, 2001, 08:40 AM
Try<input type="file" name="fName" value="<%=strPhoto%>">

rammy
Feb 23rd, 2001, 01:42 PM
Hi Jerry,

will try that out..but its the weekend here....so have to wait till Monday...will try it out and then let u know.

Thanx. :)

rammy
Feb 25th, 2001, 11:49 PM
Jerry,

That doesnt work either....maybe there's some other property that has to be set??? If anyone has any idea please let me know.

Thanx.