如何将存在服务器上的文件夹内的文件名自动生成一个统计表
按下一个按钮系统自动把,服务器上设置的根目录文件夹里的文件名称转成列表,三层文件夹
我是想要创建一个表格,三级目录每一级作为一列, Dim ftp1 As New FtpClient
Dim dls As List(of String)
ftp1.Host = "10.105.41.24"
ftp1.Account = "foxftp"
ftp1.Password = "YUNXINGZU-a2"
ftp1.Port = "5217"
ftp1.RootDir = "\1 仪表组文件/96 变更存档"
后边要怎么做
Dim ftp1 As New FtpClient
Dim fls As List(of String)
ftp1.Host="196.128.143.28"
ftp1.Account = "foxuser"
ftp1.Password = "138238110"
fls = ftp1.GetFileList("\photo")dim t as table = tables("表A")
dim r as row
For Each fl As String In fls
r = t.addnew
r("第一列") = fl
Next
Dim dls As List(of String)
dls = ftp1.GetDirList("\photo")
For Each dl As String In dls
fls = ftp1.GetFileList(dl )
For Each fl As String In fls
r = t.addnew
r("第一列") = dl
r("第二列") = fl
Next
Next
这个直接自动生成个XLS表格要怎么做,统计三级文件夹