Ian,
You would have to add a content-disposition header on the server,
indicating that it is an attachment, along with the filename. You can do it
in ASP.NET like this:
Response.AppendHeader("Content-disposition", "attachment; filename=my.csv");
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Ian Semmel" <an****@rocketcomp.com.auwrote in message
news:5309892ED0E548C0A9416C12BB48C21A@DIMITY...
If I navigate to say
http://Site/filename.csv, the web browser control or IE
displays an excel sheet with the data in it. (Safari displays the raw text).
This is not what I want. I want to get hold of the data and crunch it. How
do I do this ? (or alternatively download the csv file which is pointed to
by a hyperlink).
Thanks.