开发者

Download Images from FTP in asp.net

开发者 https://www.devze.com 2023-04-06 10:23 出处:网络
I have a list of images along with full path of FTP stored in my SQL SERVER. Now I want to download that images from the web page, Suppose I have search criteria after that 50 images shows in my grid

I have a list of images along with full path of FTP stored in my SQL SERVER. Now I want to download that images from the web page, Suppose I have search criteria after that 50 images shows in my grid then once i hit the download images 开发者_开发技巧all the images download into my local computer.

Waiting for your valuable answers thanx


You could perhaps use the FTPWebRquest library in the .NET framework

Simple implementation can be found here


General downloading code using the WebClient Class

using System.Net;
using (WebClient client = new WebClient())
{
   client.DownloadData("FTP_URL");
}
0

精彩评论

暂无评论...
验证码 换一张
取 消