//  home   //  advanced search   //  news   //  categories   //  sql build chart   //  downloads   //  statistics
 ASP FAQ 
Home
ASP FAQ Tutorials

   8000XXXX Errors
   ASP.NET 2.0
   Classic ASP 1.0
      COM / ActiveX Components
      Forms
      General Topics
      Date/Time Routines
      Email Scripts & Info
      Files/Directories & FSO
   Databases
   General Concepts
   Search Engine Optimization (SEO)

Contact Us
Site Map

Search

Web
aspfaq.com
tutorials.aspfaq.com
classicasp.aspfaq.com

ASP FAQ Tutorials :: Classic ASP 1.0 :: Forms :: How do I upload files from the client to the server?


How do I upload files from the client to the server?

For your users to upload files, you must provide them with the following interface: 
 
<form method=POST name=form1 action=handler.asp 
enctype='multipart/form-data'> 
    <input type=file name=filename> 
    <input type=submit value=' Go >> '> 
</form>
 
To handle the uploaded file(s) from ASP, you typically need a component (some of these are free): 
 
    ASPUpload 
 
    aspSmartUpload 
 
    ABCUpload 
 
    Dundas Upload 
 
    Fath Upload 
 
    Infomentum ActiveFile 
 
    MiniUpload 
 
    MS Posting Acceptor 
 
    SAFileUp 
 
    W3 Upload 
 
    Win ASP Up/Download Component 
 
There are also a few ways to upload files without traditional 3rd party components; however, note that Ray Costanzo has done extensive testing and, for anything but the smallest files, the ASPUpload component ran circles around the component-less scripts. A lot of people ask, "can I get a free upload script?" Yes, but spending $100 is going to outweigh the time you spend adapting one of these scripts to your site, and then some. Never mind the performance gains and of course the vendor support... 
 
    Active Server Developer's Journal 
 
    ASP 101 
 
    aspfaqs.com 
 
    ASPFree 
 
    Curt C 
 
    Taka.nl 
 
    Pure-ASP Upload 
 
    StarDeveloper 
 
For exact syntax to handle the incoming file(s), please see the documentation and sample code that will be available with whatever choice you make.      

Related Articles

How can I mimic a client-side POST from ASP?
How do I cause/prevent ENTER being used to submit a form?
How do I change the target frame or window of a response.redirect?
How do I disable certain FORM elements?
How do I disable IE's Autocomplete feature?
How do I iterate through a form collection?
How do I make form fields read-only?
How do I make one dropdown depend on another?
How do I pass x-y coordinates to ASP, after the user clicks an image?
How do I perform spell checking from a web page?
How do I retrieve the name of the form that was submitted?
How do I retrieve the text and the value from a <SELECT> element?
How do I submit forms to a new window, with window.open() features?
How do I validate a credit card number in ASP?
How do I validate forms using server side script?
What is the limit on Form / POST parameters?
What is the limit on QueryString / GET / URL parameters?
What is the size limit of a posted FORM field?
When I have multiple submit buttons, how do I tell which was clicked?
Which should I use: Request("item") or Request.Form("item")?
Why can't I access Request.Form() when uploading?
Why can't I pre-populate INPUT TYPE=FILE element?
Why do I get 'HTTP 405 - Resource Not Allowed' errors?
Why does my form variable become 'value, value' instead of 'value'?
Why does my input type=text value get truncated?
Why won't my <TEXTAREA> display the data I passed to it from ASP?

 

 


Created: 7/9/2000 | Last Updated: 1/10/2005 | broken links | helpful | not helpful | statistics
© Copyright 2006, UBR, Inc. All Rights Reserved. (286)

 

Copyright 1999-2006, All rights reserved.
Finding content
Finding content.  An error has occured...