On Wednesday, February 14, 2018 at 3:00:15 AM UTC-8, Andrea Fae' wrote:
>
> I'm explaining better.
> I want to create a view with a button like "download" or something like it 
> to generate a csv file from a select/query -> rows from database and after 
> appears a dialog to select in which folder download the file
>
> Thank you
>

I think that the folder dialog is done by the browser on the basis of 
content-type and content-disposition.  But my browsers tend to assume the 
default directory (%home%/Downloads) and just give me the save-or-open 
choice.

/dps
 

>
> Il giorno mercoledì 14 febbraio 2018 11:37:17 UTC+1, Andrea Fae' ha 
> scritto:
>>
>> Hello, I need to create a page to download rows from a dataset to a file.
>> Is there any automatic possibility (embedded download function is 
>> related?) without creating a function and relative view?
>> Thank you
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to