File Upload in ASP

Discussion in 'ASP' started by saravananr, Apr 19, 2009.

  1. saravananr

    saravananr New Member

    Apr 19, 2009
    Likes Received:
    Trophy Points:
    Hi All,

    I need to know how will be coding comes for file upload in ASP( 1.0). I know how it was coming in aspx( 2.0). Can any one give me the sample for it?

    That may be helpful for me !!!!!!!!!

    Thanks in advance !!!!!!!!!!!!!1

  2. gkumar

    gkumar New Member

    Jun 16, 2009
    Likes Received:
    Trophy Points:
    If you have the privilege of using ASP.NET then you should read these comprehensive tutorials regarding file uploading using built-in ASP.NET server controls:

    1. File uploading to server hard disk.
    2. File uploading to Microsoft Access database.
    3. Uploading images, determining size, width & height and resizing image files.

    I'll assume that you have read the previous articles and thus will only concentrate on the parts which are new in this article. I get enormous amounts of emails by people asking me how to upload files with ASP. This article is going to be an answer to all those questions.

    In all the previous articles we have been using Loader.asp to handle binary data. Same is going to be the case in this article. We'll though modify Loader.asp a bit to allow us to save uploaded binary data to the server hard disk.

    Open your note pad ( or any other ASP editor you use ) and create a new file. Save it as 'Loader.asp'. Now copy the text listed below and paste it in to the newly created 'Loader.asp' page and hit the save button :

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice