Oleg> Sorry, it is for web. So it seems you need Oleg> Content-Type: application/x-gzip Alas, then I lose the notion that the file is actually text/csv. For example, how would Outlook or Thunderbird know to open such a file in Excel or OpenOffice Calc? Skip