Download file from web to iPhone (C#)
<p>I have a website wich allows users to upload / downloads files (pdf, jpg, txt, etc.).  It works nice as it is, but my problem is that users accesing the web on an iPhone (or iPad) can't dowload or access the file.  I've tried to use "Respone.Redirect" to the file, but it doesn't work.  I've use c# to make my website.</p>

<p>Do you have a piece of code i can use to make it work?</p>

<p>This is the code i'm using but doesn't work:</p>

<pre><code>if (Request.UserAgent.ToLower().Contains("iphone") || Request.UserAgent.ToLower().Contains("ipad")) 
{
    Response.Redirect(Server.MapPath(fi.FullName.ToUpper())); 
} 
</code></pre>

<p>Thank you.</p>
