dIvYaNsH sInGh
dIvYaNsH sInGh

Reputation: 1993

Download Images from FTP in asp.net

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

Upvotes: 3

Views: 2769

Answers (2)

Marthin
Marthin

Reputation: 6543

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

Simple implementation can be found here

Upvotes: 3

Rami Alshareef
Rami Alshareef

Reputation: 7160

General downloading code using the WebClient Class

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

Upvotes: 0

Related Questions