asp upload组件的使用方法,中文的参数说明.那位给我一个啊,给个地址也行.
来源:百度知道 编辑:UC知道 时间:2024/07/02 17:31:41
ASPUPLOAD的使用说明及参数的详解..
不知道哪个同仁有..
在这里先谢了...
越详细越好...我找了好久没找到...
不知道哪个同仁有..
在这里先谢了...
越详细越好...我找了好久没找到...
http://topic.csdn.net/t/20051118/09/4401770.html
ASPUpload组件的使用方法->更改前缀
文件改名的两种方法.
方法一、
Set Upload = Server.CreateObject("Persits.Upload")
' Prevent overwriting
Upload.OverwriteFiles = False
' We use memory uploads, so limit file size
Upload.SetMaxSize 1000000, true
' Save to memory
Upload.Save
' Use session ID as the new file name
NewName = Session.SessionID
For Each File in Upload.Files
File.SaveAs "c:\upload\" & NewName & File.ext
Response.Write "New name: " & File.FileName & "<BR>"
Next
方法二、
Set Upload = Server.CreateObject("Persits.Upload")
' Prevent overwriting
Upload.OverwriteFiles = False
' Save to disk