download file to a specific location with Response.BinaryWrite and Server.Mappath possible?
<p>I have varbinary data associated with a file in the DB. This is the code I'm using to download this file on clicking a link -</p>

<pre><code>//a is my attachment object
var r = context.Response;
r.AddHeader("Content-Disposition", "attachment; filename=" + a.FileName);
r.Charset = "";
r.ContentType = a.MIME;   
r.BinaryWrite(a.Content.ToArray());
</code></pre>

<p>Currently, this file gets downloaded to the Downloads folder. Is there any way to create a new folder in the users system and have this file download there? I read that <b>server.mappath</b> can be used with r.WriteFile, but I'm not quite sure. Can this be done?</p>
