text: HTML form for uploading up to 3 files, which also contains a text description field, and a multiple select control:\n\n    <HTML>\n    <BODY BGCOLOR="#FFFFFF">\n    <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="Upload.asp">\n    <INPUT TYPE=FILE NAME="FILE1"><BR>\n    <INPUT TYPE=FILE NAME="FILE2"><BR>\n    <INPUT TYPE=FILE NAME="FILE3"><BR>\n\n    <INPUT TYPE=TEXT NAME="DESCRIPTION"><BR>\n\n    <SELECT NAME="CATEGORY" MULTIPLE>\n    <OPTION>Image\n    <OPTION>Text\n    <OPTION>Source Code\n    <OPTION>Archive\n    </SELECT><BR>\n\n    <INPUT TYPE=SUBMIT VALUE="Upload!">\n    </FORM>\n    </BODY>\n    </HTML>\n\nCorresponding Upload Script (Upload.asp):\n\n    <%\n    Set Upload = Server.CreateObject("Persits.Upload.1")\n\n    ' Upload files\n    Upload.OverwriteFiles = False ' Generate unique names\n    Upload.SetMaxSize 1048576 ' Truncate files above 1MB\n    Upload.Save "c:&#92;upload"\n\n    ' Process all files received\n    For Each File in Upload.Files\n\n      ' Save in the database as blob\n      File.ToDatabase "DSN=data;UID=sa;PWD=zzz;", _\n       "insert into mytable(blob) values(?)"\n\n      ' Move to a different location\n      File.Copy "d:&#92;archive&#92;" & File.ExtractFileName\n      File.Delete\n    Next\n\n    ' Display description field\n    Response.Write Upload.Form("Description") & "<BR>"\n\n    ' Display all selected categories\n    For Each Item in Upload.Form\n      If Item.Name = "Category" Then\n        Response.Write Item.Value & "<BR>"\n      End If\n    Next\n    %> \n\nwith a little modification this can upload more, or larger files. \nfor downloads you would do it the same as a link Ex. <a href="nameof.file">download!!< / a >