C# ASPX Downloading files from localhost
<p>I am trying to download a file (.txt) from my web service. My web service works with this code </p>

<pre><code>WebClient req = new WebClient();
HttpResponse Response = HttpContext.Current.Response;

Response.ContentType = "image/jpeg";
Response.AddHeader("Content-Disposition", "attachment;filename=" +
    fileName);
Response.WriteFile("C:\\Temp\\Storage\\" + (fileName));
Response.End();
</code></pre>

<p>and i would like to call it from the client. How is that done?</p>
