或者直接操作下载图片吧,用ftpwebrequest,代码也不复杂。得到image以后,赋值给pictureBox
Dim req As System.Net.FtpWebRequest = System.Net.WebRequest.Create("ftp://gongling:1CCCEC22128b97@222.216.28.13/web/0001.png")
Dim img As Image = Image.FromStream(req.GetResponse().GetResponseStream())
'img.save("d:\test.png")
上面假定帐户为gongling,密码为1CCCEC22128b97,ftp服务器的址为ftp://222.216.28.13.com