求一个简单的asp上传插件
asp吧
全部回复
仅看楼主
level 1
🍇象牙白 楼主
不需要页面。
我直接加参数调用。
2个参数,一个服务器上文件夹名。一个是电脑上本地文件的路径。 能有页面显示进度最好。没有也没事。唯一一个要求是限制文件5MB
2015年01月03日 11点01分 1
level 1
🍇象牙白 楼主
[乖]就看你你们了,万能的吧友。
2015年01月03日 11点01分 2
level 1
🍇象牙白 楼主
[乖]大神何在
2015年01月03日 11点01分 3
level 8
付费的可以私聊
2015年01月03日 14点01分 4
level 1
🍇象牙白 楼主
[汗][乖]
2015年01月04日 01点01分 5
level 4
发个邮箱免费你给一个
2015年01月05日 07点01分 7
给我一个吧
2015年01月14日 09点01分
level 4
a.asp
<html><title>example</title>
<body>
<form name="form1" method="post" action="b.asp" enctype="multipart/form-data">
<input type=file name="upfile">
<input type=submit name="submit" value="提交">
<label>
<input type="text" name="a">
</label>
</form>
</body>
</html>
b.asp
<!--#include file="upload.inc"-->
<html><title>example</title>
<body>
<%
set upload=new upload_5xsoft
set file=upload.file("upfile")
if file.fileSize>0 then
file.saveAs Server.mappath("temp.jpg")
response.write "<br>上传文件:"&file.FileName&" => temp.jpg OK!"
response.write "<br>文件大小:"&file.FileSize
set file=nothing
end if
set upload=nothing
%></body>
</html>
2015年01月15日 10点01分 8
1