[web2py] How can i implement this with web2py?

2016-05-01 Thread teld dlet
I have a python program where I prompt the user for two files, and I do some programming and output a new file... How can I make this work with web2py? I was thinking having a form with 2 upload fields, and a text field so they can give a name to the file that will be generated from the code.

[web2py] Re: How can i implement this with web2py?

2016-05-03 Thread teld dlet
ange http headers for download (Content-Disposition or so) to > force Save dialog. > > Maybe somebody has much much better answer, but previous is not too > difficult, few lines of code for FileReader. FileReader is supported in > modern browsers but not IE8. (IE9?) > > >