这次修改的更新主要是增加了对保存目标路径的判断,如果不存在,就自动生成,SavePath的参数支持相对路径和绝对路径
uploadclass
下面把代码贴出来

‘———————————————————-
‘**************** 风声无组件上传类 2.11 *****************
‘作者:风声
‘网站:http://www.fonshen.com
‘邮件:webmaster@fonshen.com
‘版权:版权全体,源代码公开,各种用途均可免费使用
‘修改:迦楠
‘网站:http://www.ishere.cn | http://www.aobodo.com
‘说明:SavePath参数支持相对与绝对两种路径,并自动生成目标文件夹
‘**********************************************************
‘———————————————————-
Class UpLoadClass

Private m_TotalSize,m_MaxSize,m_FileType,m_SavePath,m_AutoSave,m_Error,m_Charset
Private m_dicForm,m_binForm,m_binItem,m_strDate,m_lngTime
Private m_Fso,astrPath, ulngPath, i, strTmpPath
Public FormItem,FileItem

Public Property Get Version
Version=”Fonshen UpLoadClass Version 2.11″
End Property

Read More…

Tags: ,
Posted in ASP at December 1st, 2008. No Comments.