asp uploads

This is a discussion on "asp uploads" within the Introduce Yourself section. This forum, and the thread "asp uploads are both part of the Community category.



Go Back   Webforumz.com > Community > Introduce Yourself

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 1st, 2005, 17:17
rgriggs
Guest
Posts: n/a
asp uploads

I have a problem that I have worked on for a couple of days and am pulling my hair out and hope you can and will help me. My situation is this:



I have a form with several input fields and one I want to be a file type input field. I want the user to be able to browse for the file to upload and then store the location in the input field for later processing. Once you click submit, you are sent to a processing page, which creates a recordset and creates a new record in the database. I now want the system to upload the file, based on the location you entered into the input field on the first page as source to a location hard coded.



I have installed aspSmartUpload.dll and it works great if I upload the file without the database processing. The error I am getting is the: “Cannot use Request.Form collection after calling BinaryRead”. I have read that I cannot use the binaryread and request.form object on the same page. However, I have got bits and pieces of info that lead me to believe there is a way to do this and want to see what your thoughts or knowledge of this is.



This is an internal site for entering change request information for my company and my manager does not want the user to have to create the Request and then click a button after to attach a file.



I hope this is clear and am looking forward to your response.

Thanks so much in advance for your input
Reply With Quote

  #2 (permalink)  
Old Feb 1st, 2005, 17:55
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Rather than using Request.form you'd use mySmartUpload.Form (or whatever you named your upload object as.Form)

See for example: http://www.aspsmart.com/scripts/aspS...asp?P=356&L=EN
Reply With Quote
  #3 (permalink)  
Old Feb 2nd, 2005, 12:42
rgriggs
Guest
Posts: n/a
Thanks for the quick reply. I have solved it and am finishing up my code, but the upload works well. However, I will take a look at the link above to see how it is solved here.

Thanks so much again
Randy
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
file uploads iochinome PHP Forum 9 Mar 24th, 2008 19:40
Uploads Images! Need help randy9378 Web Page Design 2 Oct 23rd, 2007 19:05
Multiple uploads + classifieds marie2007 PHP Forum 1 Jul 29th, 2007 10:05
Video Uploads Accurax Webforumz Cafe 32 Mar 19th, 2007 13:11
Allowing Customer Uploads? Help! gingermop Hosting & Domains 3 May 10th, 2006 11:09


All times are GMT. The time now is 22:25.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43