Download Files from File Table SQL Server 2012
<p>I am using a <code>FileTable</code> in SQL Server 2012 and I want my users to download files from the <code>FileTable</code>. What path should I use?</p>

<pre><code>public ActionResult DownloadFile(string filename)
{
    //string filename = Request.QueryString["MOVIE_FILE"];
    string path = "\\Maaz-laptop\\mssqlservermaaz\\FileDBFileStreamDirectory\\FileDirectory";
    Response.ContentType = "application/force-download;";
    Response.AppendHeader("Content-Disposition", "attachment; filename=" + filename);
    Response.WriteFile(Server.MapPath(path) + filename);
    Response.End();
    return null;
}
</code></pre>