I'm using response.stream, like - 

response.stream(open(file_path, 'r'), attachment=True, chunk_size=4096, 
filename='abc def ghi.txt')

When there is a space in the filename, I get a downloaded file with a name 
that is the first part split on ' ', same as calling filename.split(' 
')[0]. 

For example, with filename='abc def ghi.txt', I am getting 'abc' as the 
name of the downloaded file.

How can I avoid this?

Thanks,
-j

-- 
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