Well that would not seem logical now would it? An FTP protocal request through a HTPP protocol request.
You could look into
FtpWebRequest[
]
The following code example demonstrates downloading a file from an FTP server by using the WebClient class.
public static bool DisplayFileFromServer(Uri serverUri)
{
if (serverUri.Scheme != Uri.UriSchemeFtp)
{
return false;
}
WebClient request = new WebClient();
request.Credentials = new NetworkCredential ("anonymous","janeDoe@contoso.com");
try
{
byte [] newFileData = request.DownloadData (serverUri.ToString());
string fileString = System.Text.Encoding.UTF8.GetString(newFileData);
Console.WriteLine(fileString);
}
catch (WebException e)
{
Console.WriteLine(e.ToString());
}
return true;
}