我想知道如何阅读和计算ASP Classic中zip文件中的条目数
感谢大家
Ponomy
答案 0 :(得分:0)
dim objZipHandler, iFileCount
objZipHandler = Server.CreateObject("your.component")
objZipHandler.load("myZipFile.zip")
iFileCount = objZipHandler.countFiles()
response.write "Nr Of Files inside ZIP: " & iFileCount
objZipHandler.dispose()
set objZipHandler = nothing
objZipHandler = Server.CreateObject("your.component")
objZipHandler.load("myZipFile.zip")
iFileCount = objZipHandler.countFiles()
response.write "Nr Of Files inside ZIP: " & iFileCount
objZipHandler.dispose()
set objZipHandler = nothing