ASP.NET - Download File When File Name Contain Spaces
<p>I want to download the files from server. When downloading i want to change the file name.
But I can't change the file name totally when the filename contains spaces.</p>

<p>My Code is as Below</p>

<pre><code>Response.AddHeader("content-disposition", "attachment; filename=" + fileName);
</code></pre>

<p>This lets the user save the file to their computer. 
But when i save the file, only the first word of the filename is saved.</p>

<p>eg. I want to give the file name as ("CCNA Q&amp;A.pdf") but the file save as ("CCNA")</p>

<p>I want to know how to save the filename with spaces.</p>
