Helping ordinary people create extraordinary websites!
Scripts Directory ASP Scripts File Uploaders

Easy File Uploading

Following asp source code is easiest way to upload files to your server. Source code is very short and user-friendly to modify to use in a real application. You ISP must provide your Persits Upload component.


 


<HTML>
<BODY BGCOLOR="#FFFFFF">


<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="upload.asp.asp">
<INPUT TYPE=FILE SIZE=60 NAME="strFile"><BR>
<INPUT TYPE=SUBMIT VALUE="Upload" NAME="func">
</FORM>


<% 


if request.form("func") = "Upload" then
Set Upload = Server.CreateObject("Persits.Upload.1") 
Upload.Save("c:\Inetpub\wwwroot\pics")


response.write "File Has Been Uploaded ..."


end if
%>


</BODY>
</HTML>


Author: Dotnetindex.com   Version: 1
Price: Free   Demo: View it
Platform(s): WinNT/2000/2003, IIS   Download Script: Click here
 48 Votes

More ASP File Uploaders Scripts: