If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    web2pyslices  13 years ago
    can you actually download the file uploaded? Following the instruccions I actually can upload and even "view" the new entry (file) from appadmin, but cannot download it; seems it hasn't been uploaded as a blob, so it's just me or maybe something is still missing with this slice? UPDATE: ...for the record, was just me. I missed the importance of this line: db.document.insert(file=db.document.file.store(request.body,filename)). I had just file=filename so I was saving mere text on the file field. PD: an bbcode on web2pyslices is missing :)

Commented on:

Quick and dirty multi file ajax file upload with multi selection a drag and drop. Javascript plugin at http://valums.com/ajax-upload/

Hosting graciously provided by:
Python Anywhere