Results 1 to 4 of 4

Thread: problem....

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298
    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 filename. 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
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810
    Try
    Code:
    <input type="file" name="fName" value="<%=strPhoto%>">
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298
    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.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298
    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.

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