按帮助文件
Dim
ftp1 As New
FtpClient
ftp1.Host="196.128.143.28"
ftp1.Account = "foxuser"
ftp1.Password =
"138238110"
If ftp1.DeleteFile("\update\Desert.jpg") = True
Then
Messagebox.show("删除完成!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
Else
Messagebox.show("删除失败!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
End If
如果想删除此目录下所有的jpg文件 可以使用通配符*.吗?
改成这样确什么也删除不了 ftp1.DeleteFile("\update\*.jpg")
请教老师 谢谢