| 首页 >> 网络编程 >> ASP >> ASP实例 >> 新闻正文 | [字体:大 中 小] [打印文档] |
| |
|
|
; <BytesTotal><%=Round(theProgress.BytesTotal / 1024, 1)%></BytesTotal></P><P> <BytesPerSecond><%=Round(theProgress.BytesPerSecond/1024, 1)%></BytesPerSecond></P><P> <Information><%=theProgress.Note%></Information></P><P></plan></P><P></P> <P>progressupload.asp(处理上传文件)</P><P></P><P><%@EnableSessionState=False%> </P><P><%</P><P>Response.Expires = -10000</P><P>Server.ScriptTimeOut = 300</P> <P></P><P>Set theForm = Server.CreateObject("ABCUpload4.XForm")</P> <P>theForm.Overwrite = True</P><P>theForm.MaxUploadSize = 8000000</P> <P>theForm.ID = Request.QueryString("ID")</P><P>Set theField = theForm("filefield1")(1) </P><P>If theField.FileExists Then</P><P> theField.Save theField.FileName</P><P>End If</P><P>%></P><P></P><P><html></P><P><body></P><P>传送结束</P><P></body></P><P> </html></P><P></P><P></P><P> 对于其他组件上传,原理也就差不多了,只是方法不一样罢了 |
