Results 1 to 3 of 3

Thread: Problem........

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298

    Question

    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.

  2. #2
    Guest
    Try Response.write(strPhoto)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298

    Angry

    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
  •  



Click Here to Expand Forum to Full Width