yes, that worked,

here is my code under the controller:

        response.headers['Content-Type'] = 'text/x-dude' 
        response.headers['Content-Disposition'] = 'attachment; 
filename="%s.csv"' % xml.sample['name'].strip().replace(' ','_')
        return str(body).replace('<br />','\n')

where i gave it type of 'text/x-dude' so that it would be foreign and just 
save the file instead of give it the option to open in excel, which doesn't 
automatically work with my version of excel.  i have to open a new 
worksheet and then import the file and it works fine then.

good.  thanx niphold.  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