You are not logged in.

#1 2008-01-11 1:21 pm

fspamlist
Member
Registered: 2008-01-06
Posts: 33

Export search results: CSV problem

When I downloaded some search results in CSV, the file I got had no extension? Maybe for ease of opening, you could make the file .txt or .csv

Is this how it's supposed to work?

Offline

#2 2008-01-11 6:46 pm

Russ
Guest

Re: Export search results: CSV problem

Right now it just sends the output to the browser as text/plain. You could save it from your browser as a file with any extension you like.

I could, instead, use the content-disposition header to automatically have the file downloaded, with a proper file name and extension and all that. Would that work better?

#3 2008-01-11 8:05 pm

fspamlist
Member
Registered: 2008-01-06
Posts: 33

Re: Export search results: CSV problem

It's up to you.. but I don't usually change the filename of a file I'm downloading..only the location.

Offline

Board footer

Powered by FluxBB

Close
Close