Variable is undefined: 'UploadFormRequest' error in ftp upload modulescript

Discussion in 'ASP General' started by .Net Sports, Oct 9, 2009.

  1. .Net Sports

    .Net Sports Guest

    I'm using Freeaspupload asp component to allow users to upload files
    from webpage. The module works fine for the upload, but i need to
    include some form elements with request("myfield") reference so i can
    also post data from an input text box to a temporary container.
    ''''''''''''''''''''''''
    <form name="frmSend" method="POST" enctype="multipart/form-data"
    action="resources-CMS.asp?qencl=sup" onSubmit="return onSubmitForm
    ();">

    <input type="text" name="category" size="30"">
    Browse > Upload File<input name="attach1" type="file" size=35>
    <input type="submit" name="Submit" value="Upload"><%
    dim catq
    catq = UploadFormRequest("Category")
    response.write "Category:" & catq & "<br>"
    %>
    </form>
    ''''''''''''''''''
    by using UploadFormRequest instead of Request("Category"), i bypass
    the ftp module related error: Cannot use the generic Request
    collection after calling BinaryRead
    but I get a Variable is undefined: 'UploadFormRequest' error now
    poiting to : catq = UploadFormRequest("Category")

    ???
    NS
     
    .Net Sports, Oct 9, 2009
    #1
    1. Advertising

  2. .Net Sports

    Bob Barrows Guest

    Re: Variable is undefined: 'UploadFormRequest' error in ftp upload module script

    You will need to contact the writer of the component.

    ..Net Sports wrote:
    > I'm using Freeaspupload asp component to allow users to upload files
    > from webpage. The module works fine for the upload, but i need to
    > include some form elements with request("myfield") reference so i can
    > also post data from an input text box to a temporary container.
    > ''''''''''''''''''''''''
    > <form name="frmSend" method="POST" enctype="multipart/form-data"
    > action="resources-CMS.asp?qencl=sup" onSubmit="return onSubmitForm
    > ();">
    >
    > <input type="text" name="category" size="30"">
    > Browse > Upload File<input name="attach1" type="file" size=35>
    > <input type="submit" name="Submit" value="Upload"><%
    > dim catq
    > catq = UploadFormRequest("Category")
    > response.write "Category:" & catq & "<br>"
    > %>
    > </form>
    > ''''''''''''''''''
    > by using UploadFormRequest instead of Request("Category"), i bypass
    > the ftp module related error: Cannot use the generic Request
    > collection after calling BinaryRead
    > but I get a Variable is undefined: 'UploadFormRequest' error now
    > poiting to : catq = UploadFormRequest("Category")
    >
    > ???
    > NS


    --
    HTH,
    Bob Barrows
     
    Bob Barrows, Oct 9, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    5,655
  2. Tarun Kapoor
    Replies:
    0
    Views:
    376
    Tarun Kapoor
    May 17, 2007
  3. Tarun Kapoor
    Replies:
    0
    Views:
    326
    Tarun Kapoor
    May 17, 2007
  4. Jeff Miller
    Replies:
    0
    Views:
    503
    Jeff Miller
    Mar 26, 2009
  5. D. Buck
    Replies:
    2
    Views:
    492
    D. Buck
    Jun 29, 2004
Loading...

Share This Page