c#中如何在线浏览ftp服务器中的图片
空怀 2010-12-17 03:06:17 c#写的一个程序,将图片上传到ftpf服务器上,然后用户查看图片。我是用这样写的
pictureBox2.ImageLocation = Program.filepathimg + img;
pictureBox2.Image = Image.FromFile(Program.filepathimg + img);
其中program.filepathimg="ftp://192.168.1.5/" img="20100521.jpg"
报错信息是:不支持给定格式。
请教各位大侠,我该怎么写?