fileup.htm
< html >
< head >
< title >千花飞舞之上传单个文件< /title >
< /head >
<body>
< form enctype="multipart/form-data" method="post" action="fileup.asp" >
输入想要上传的文件: < input type="file" name="f1" >
< input type="submit" value="开始上传" > < /form >
< /body >
< /html >
fileup.asp
< %@ language="vbscript" % >
< html >
< body >恭喜,文件上传成功!
< % set upl = server.createobject("softartisans.fileup") % >
< % upl.saveas "c: empupload.out" % >
上传文件字节数: < %=upl.totalbytes% >
< /body >
< /html >
[1]
发表评论