<p>Greetings!</p>

<p>I'm scratching my head, wondering why when I do the following:</p>

<pre><code>Response.Redirect(@"http://www.example.com/file.exe?id=12345");
</code></pre>

<p>Both IE6 and IE7 will download the file as "file" (with no extension), but Firefox, Opera, Google Chrome and Safari have no problems at all downloading the file as "file.exe".</p>

<p>Any idea what IE6/7's problem is and how can I fix this?</p>

Have You tried to set correct content-type in Your response headers? For example:
```
```
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="file.exe"
```
```