Results 1 to 5 of 5

Thread: Upload

  1. #1
    Join Date
    Jan 2005
    Posts
    362

    Unanswered: Upload

    I want to make two asp files, one for upload and one for download files.
    Do you know some free asp scripts or tutorials for this.
    Thank you in advance.
    dimis

  2. #2
    Join Date
    Nov 2005
    Location
    Honolulu HI
    Posts
    119
    here is a freebie
    http://www.lewismoten.com/LewiesCode...esWithoutCOMv3

    who is your web host ?
    check to see if they have ASP componendts like ASPUpload loaded as part of their accounts. thats what we use.
    http://www.aspupload.com/
    .
    .
    http://www.HawaiianHope.org
    Providing Technology services to non profit orgs, Homeless Shelters, Food Pantries, Clean And Sober Houses and more.
    To date we have given away over 900 free computers !
    __________________________
    caeli enarrant gloriam Dei !

  3. #3
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    For downloading files you can simply show each file as a link.

    And here is a pure ASP (i.e. no components) resource for letting the user upload one or more files which is something that was unfortunately not built into ASP:

    ASP File Upload Using VBScript by John R. Lewis
    http://aspzone.com/articles/160.aspx

    The above free code has worked well for me and you can copy and paste the code sample which is white on gray (what were they thinking?) or just highlight it and it becomes black on white.
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

  4. #4
    Join Date
    Nov 2005
    Location
    Honolulu HI
    Posts
    119
    thats basically what i gav him.
    the code from lewis moten is some of the most common code used on the net to do this.

    and while yes, you can just display files on the page as a link, people have to know enough about computers to right click on the file and then "save as..." otherwise if you display an EXE, jpg, or any number of other files, their browser will try to execute it as tehy left click on it.

    thats some of the reasons to use a component, as you can force a download and avoid the browser trying to run the file. like i said. check with your hosting company, they may already ahve something installed on their servers. a lot of us do now days.

    i agree... "white on gray" what were they thinking...
    .
    .
    http://www.HawaiianHope.org
    Providing Technology services to non profit orgs, Homeless Shelters, Food Pantries, Clean And Sober Houses and more.
    To date we have given away over 900 free computers !
    __________________________
    caeli enarrant gloriam Dei !

  5. #5
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    i agree... "white on gray" what were they thinking...
    Glad we agree on SOMETHING!
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •