[web2py] Re: Uploading with SQLFORM.factory: specifying tablename component of filename

2014-06-05 Thread Michael Beller
web2py renames the file as a security measure to prevent directory traversal attacks. You can read more about it here ... http://www.web2py.com/books/default/search/29?search=traversal and here ... http://en.wikipedia.org/wiki/Directory_traversal_attack As you point out, web2py stores the new fi

[web2py] Re: Uploading with SQLFORM.factory: specifying tablename component of filename

2014-06-06 Thread Spokes
Thank you, Michael. However, it appears that in the steps you've discussed, you're using the compute field to store the original filename in the table, or to store other information in the table. However, I am interested simply in changing the name of the file that is uploaded to the server. Wi