Results 1 to 4 of 4

Thread: Input type=File

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Posts
    51

    Angry

    Hi All,

    I struggling with this problem, Ineed to create a page that have input type file and need the file value to pass another page for proccessing. The value will then need to another page to update. to make the story short, how can I pass the value from page to page?

    thanks

  2. #2
    New Member
    Join Date
    Mar 2001
    Location
    CA, US
    Posts
    8
    in the page that you pass the value to, you should do something like

    *(File1 is the input name for the file input type)

    Dim FileName

    FileName = Request.Form("File1").UserFileName

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2000
    Posts
    51
    Here what I have for the first page:

    <INPUT TYPE="file" NAME="txtFile">

    for the second page:

    strtxtFILE = Request.Form("txtFILE")

    this will work fine with the following:
    <INPUT TYPE="hidden" value="<%=strtxtFILE%>" NAME="txtFile" >

    but Not with this one:
    <INPUT TYPE="file" value="<%=strtxtFILE%>" NAME="txtFile" >

  4. #4
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    well what errors are you getting? or is it just not passing the string?

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

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