如何上传一个单纯的HTML文件?

fileup.htmxml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /??

     < 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]

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
xiaoxingxing的头像xiaoxingxing管理团队
上一篇 2023年12月29日
下一篇 2023年12月29日

相关推荐