Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

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
Price: Free
Version: 1
Platform(s): WinNT/2000/2003, IIS
Rating:
Total Votes: 23
Demo: View it
Download Script: click here

Visit Site | Bookmark | Digg It! | Stumbleupon! | Send to a Friend | Report Bad Link

More ASP File Uploaders Scripts:
Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources