DirExists
判断指定的目录是否存在,语法:
DirExists(Path)
Path:要判断的目录。
示例
Dim ftp1 As New FtpClientftp1.Host="196.128.143.28"ftp1.Account = "foxuser"ftp1.Password = "138238110"If ftp1.DirExists("\photo") Then MessageBox.show("目录已经存在","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)End If
http://www.foxtable.com/help/topics/1410.htm