GetDetailList
用于返回FTP服务器指定目录下的全部文件和子目录,包括文件的名称、修改时间和大小,各项之间用符号*分隔。
GetDetaiList(Path)
Path:可选参数,用于指定目录,如果省略,则返回当前目录下的全部子目录名。
Dim ftp1 As New FtpClientDim dls As List(of String)ftp1.Host="196.128.143.28"ftp1.Account = "foxuser"ftp1.Password = "138238110"dls = ftp1.GetDetailList("\")For Each dl As String In dls Output.Show(dl)Next