Dim ftp1 As New FtpClient ftp1.Host="196.128.143.28" ftp1.Account = "foxuser" ftp1.Password = "138238110" If ftp1.FileExists("\photo\jz.png") Then '如果存在则下载 msgbox("已存在同名文件")
Else messagebox.Show("此文件不存在!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information) End
If