佳木斯湛栽影视文化发展公司

主頁 > 知識(shí)庫 > asp fso操作類

asp fso操作類

熱門標(biāo)簽:銀行業(yè)務(wù) Mysql連接數(shù)設(shè)置 團(tuán)購網(wǎng)站 阿里云 電子圍欄 服務(wù)器配置 Linux服務(wù)器 科大訊飛語音識(shí)別系統(tǒng)
復(fù)制代碼 代碼如下:

%
'================================================================
'=                    系統(tǒng)版本:1.0                                =
'=                    文件版本:1.0                                =
'=                文本創(chuàng)建日期:2005-10-31                        =
'================================================================
Class Cls_IO
    Private FileSystemObject

    Private Sub Class_Terminate()
        If IsObject(FileSystemObject) Then
            Set FileSystemObject = Nothing
        End If
    End Sub

    '//創(chuàng)建FileSystemObject對(duì)象
    Public Function Init_Object()
        On Error Resume Next
        If Not IsObject(FileSystemObject) Then
            Set FileSystemObject = Server.CreateObject("Scripting.FileSystemObject")
            If Err.Number > 0 Then
                Init_Object = False
                Err.Clear
                Exit Function
            Else
                Init_Object = True
            End If
        End If
    End Function

    Public Sub DeleteFile(ByVal Str)
        On Error Resume Next
        Call FileSystemObject.DeleteFile(Server.MapPath("../UpLoadFile/"Str))
    End Sub

    Public Function IsFolder(ByVal Str)
        IsFolder = FileSystemObject.FolderExists(Str)
    End Function

    
    Public Function ShowFolder(ByVal Str)
        Dim Obj_Folder,Obj_File
        Set Obj_Folder = FileSystemObject.GetFolder(Server.MapPath(Str))
        Set ShowFolder = Obj_Folder.Files
        Set Obj_Folder = Nothing
    End Function

End Class
%>
您可能感興趣的文章:
  • asp結(jié)合fso實(shí)現(xiàn)文件或文件夾創(chuàng)建刪除等操作的函數(shù)
  • asp下利用fso實(shí)現(xiàn)文件夾或文件移動(dòng)改名等操作函數(shù)
  • 使用FSO修改文件夾的名稱實(shí)現(xiàn)文件轉(zhuǎn)移防盜鏈
  • fso asp生成靜態(tài)html的代碼
  • ASP+FSO可視化目錄編歷(可增、刪、改)下載
  • asp下用ADODB.Stream代替FSO讀取文本文件
  • 設(shè)置FSO權(quán)限功能的說明
  • ASP FSO文件操作函數(shù)代碼(復(fù)制文件、重命名文件、刪除文件、替換字符串)

標(biāo)簽:廣元 江蘇 衡水 棗莊 萍鄉(xiāng) 衢州 大理 蚌埠

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《asp fso操作類》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    阿荣旗| 巴楚县| 秦皇岛市| 化州市| 西藏| 新民市| 望江县| 盐源县| 古蔺县| 城口县| 东兰县| 阳谷县| 大石桥市| 左云县| 普安县| 尉氏县| 启东市| 富顺县| 和林格尔县| 额济纳旗| 兴业县| 屏东县| 赣州市| 东莞市| 凭祥市| 荔浦县| 盐津县| 屏东县| 房山区| 无极县| 古交市| 体育| 金堂县| 永川市| 巴东县| 南京市| 光泽县| 墨江| 徐汇区| 万盛区| 石家庄市|