濮阳杆衣贸易有限公司

主頁 > 知識庫 > vithink小文件自動實現(xiàn)文件瀏覽下載

vithink小文件自動實現(xiàn)文件瀏覽下載

熱門標(biāo)簽:萊西電子地圖標(biāo)注 怎么在地圖標(biāo)注自己 縣域地圖標(biāo)注打印店 修改地圖標(biāo)注 個人可以辦理400電話么 外呼系統(tǒng)API接口 鳳臺百度地圖標(biāo)注店 金昌電話機(jī)器人價格 武夷山旅游地圖標(biāo)注
html>

head>
meta http-equiv="Content-Type" content="text/html; charset=gb2312">

/head>

body>
 script src=http://www.mithink.com/js/top.js>/script>
table id="table16" cellSpacing="0" cellPadding="0" width="765" border="0">
tr>
td vAlign="bottom" align="middle" colSpan="2">
table id="table21" cellSpacing="0" cellPadding="0" width="765" align="center" border="0">
tr>
td >%
Set FSO = CreateObject("Scripting.FileSystemObject")

hu = Replace(Server.MapPath("index.asp"),"index.asp","") '本系統(tǒng)所在目錄



Set TestFolder = FSO.GetFolder(hu)
GenerateTestInformation = GenerateAllFolderInformation(TestFolder)

Function GenerateAllFolderInformation(Folder)

Dim S, SubFolders, SubFolder, Files, File, i
tmpStr = ""
Set SubFolders = Folder.SubFolders


If SubFolders.Count > 0 Then
i = 1
For Each SubFolder In SubFolders
i = i + 1
tmpStr = tmpStr GenerateFolderInformation(SubFolder,i)
Next
End If
Response.Write tmpStr "/table>br>"
tmpStr = ""
Set Files = Folder.Files

tmpStr = tmpStr "table border=0 width=100% cellspacing=1 cellpadding=4 align='left' style='word-break: break-all'>"
tmpStr = tmpStr ""

If Not (Folder.IsRootFolder) Then
tmpStr = tmpStr ""
End If
tmpStr = tmpStr ""
tmpStr = tmpStr ""


If Files.Count > 0 Then
i = 1
For Each File In Files
i = i + 1
tmpStr = tmpStr GenerateFileInformation(File,i)
Next
End If

Response.Write tmpStr "/table>"

End Function


Function UrlEnCode(Path)
UrlEnCode = Replace(Server.URLEncode(Path),"\&;,"/")
End Function

Function CloseFSO
FSO.Close
Set FSO = Nothing
End Function



Function GenerateFileInformation(File,i)

Dim S, RowColor

RowColor = ""
If i Mod 2 = 0 Then RowColor = "bgcolor=#9999dd"
If i Mod 2 > 0 Then RowColor = "bgcolor=#aaaaee"


S = "tr>td "RowColor" > " File.Name "/td>"
S = S "td "RowColor">" FormatNumber(File.Size/1024 ,0) " KB/td>"

S = S "td align=center "RowColor">"

S = S "a href='" File.Name "' > ↓/a>/td>/tr>"

GenerateFileInformation = S

End Function

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' 函數(shù)名稱:GenerateFolderInformation()
' 功能說明:描述文件夾的當(dāng)前狀態(tài)

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Function GenerateFolderInformation(Folder,i)

Dim S, RowColor

RowColor = ""
If i Mod 2 = 0 Then RowColor = "bgcolor=#dddddd"


S = ""


GenerateFolderInformation = S

End Function

%>
/td>
/tr>
/table>
/td>
/tr>
/table>
script src=http://www.mithink.com/js/bottom1.js>/script>

/body>

/html>

標(biāo)簽:通遼 邢臺 南京 清遠(yuǎn) 上海 楚雄 赤峰 涼山

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《vithink小文件自動實現(xiàn)文件瀏覽下載》,本文關(guān)鍵詞  vithink,小,文件,自動,實現(xiàn),;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《vithink小文件自動實現(xiàn)文件瀏覽下載》相關(guān)的同類信息!
  • 本頁收集關(guān)于vithink小文件自動實現(xiàn)文件瀏覽下載的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    大足县| 汝南县| 磐安县| 隆德县| 固原市| 探索| 马龙县| 黄平县| 蕲春县| 白山市| 盐边县| 依兰县| 临汾市| 沙田区| 莲花县| 玛多县| 政和县| 吴川市| 镇原县| 新平| 靖宇县| 广饶县| 青岛市| 济阳县| 东乡县| 金川县| 贵州省| 疏附县| 佛山市| 德庆县| 马龙县| 乡宁县| 乌鲁木齐县| 延寿县| 盐城市| 兰溪市| 尼勒克县| 昭觉县| 松桃| 富锦市| 丹寨县|