you set the content-disposition header as 'attachment; 
filename=yourfilename.csv'

On Tuesday, July 23, 2013 8:30:56 PM UTC+2, lucas wrote:
>
> hey everyone,
>
> i ask a lot of questions, but i do a lot of strange stuff.  anyway, i have 
> a form that processes an XML file and converts it into a plain text CSV 
> file ready for excel.  how do i direct web2py or client-side to 
> automatically open the Save File As dialog in whatever browser to save the 
> plain text CSV data into a file on the user's computer in whatever filename 
> they see fit?
>
> thanx in advance, lucas
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to