NetTalk Central

Author Topic: CSV file is treated as XLT  (Read 2676 times)

Mike McLoughlin

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • Clarion Templates
    • Email
CSV file is treated as XLT
« on: December 17, 2013, 09:48:37 AM »
I modified the Excel example app to create a CSV file.

The CSV file is in the right format because when I open it with Excel locally there is no problem - all rows/columns filled correctly.

But when I click on the link in the Viewreport procedure Excel thinks it is an XLT file and puts the entire row in one cell.

Anybody else come across this? 

Mike
Mike McLoughlin

Mike McLoughlin

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • Clarion Templates
    • Email
Re: CSV file is treated as XLT
« Reply #1 on: December 17, 2013, 11:29:12 AM »
The download Example 40 works OK when downloading CSV files so I think I have found the solution :)

Mike
Mike McLoughlin

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: CSV file is treated as XLT
« Reply #2 on: December 17, 2013, 08:29:43 PM »
My guess would be the content-type header.
Cheers
Bruce