The following line of code should as far as I know download the listed file.
But the browser always opens the contents of the file in a new window. Why?
I want to download the file when I click the link, not open the file.

<a href="www.filelocation.com/log.csv">Access Log</a>

Help, thanks.

RE: Making file download instead of opening by Corey

Corey
Tue Feb 01 11:33:09 CST 2005

P.S. Right click, save as on the link shows the resultant file as "log.htm"
instead of "log.csv". ???? The file on the server is "log.csv" and ftp'ing
the file down to my computer shows me that it is "log.csv". So why is the
browser treating it differently?

Thanks again,

"Corey" wrote:

> The following line of code should as far as I know download the listed file.
> But the browser always opens the contents of the file in a new window. Why?
> I want to download the file when I click the link, not open the file.
>
> <a href="www.filelocation.com/log.csv">Access Log</a>
>
> Help, thanks.

Re: Making file download instead of opening by Stefan

Stefan
Wed Feb 02 04:03:08 CST 2005

Can you post a real public URL?

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Corey" <Corey@discussions.microsoft.com> wrote in message news:CEAE8565-734E-4C7D-864D-A3D03C58B54A@microsoft.com...
| P.S. Right click, save as on the link shows the resultant file as "log.htm"
| instead of "log.csv". ???? The file on the server is "log.csv" and ftp'ing
| the file down to my computer shows me that it is "log.csv". So why is the
| browser treating it differently?
|
| Thanks again,
|
| "Corey" wrote:
|
| > The following line of code should as far as I know download the listed file.
| > But the browser always opens the contents of the file in a new window. Why?
| > I want to download the file when I click the link, not open the file.
| >
| > <a href="www.filelocation.com/log.csv">Access Log</a>
| >
| > Help, thanks.



Re: Making file download instead of opening by Corey

Corey
Thu Feb 03 13:43:05 CST 2005

Sorry I can't. The page this is occuring on is a page that requires a login
due to the fact that the page is sort of an administration page for the site.
I can't give out the login info for the page.

"Stefan B Rusynko" wrote:

> Can you post a real public URL?
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "Corey" <Corey@discussions.microsoft.com> wrote in message news:CEAE8565-734E-4C7D-864D-A3D03C58B54A@microsoft.com...
> | P.S. Right click, save as on the link shows the resultant file as "log.htm"
> | instead of "log.csv". ???? The file on the server is "log.csv" and ftp'ing
> | the file down to my computer shows me that it is "log.csv". So why is the
> | browser treating it differently?
> |
> | Thanks again,
> |
> | "Corey" wrote:
> |
> | > The following line of code should as far as I know download the listed file.
> | > But the browser always opens the contents of the file in a new window. Why?
> | > I want to download the file when I click the link, not open the file.
> | >
> | > <a href="www.filelocation.com/log.csv">Access Log</a>
> | >
> | > Help, thanks.
>
>
>