Prev: How can I increase the timeout on ASP.Net 3.5 pages talking to webservices?
Next: ASP Export to Excel
From: .Net Sports on 9 Oct 2009 13:12 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
From: Bob Barrows on 9 Oct 2009 13:26
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 |