did you try Field arguments?
http://www.web2py.com/examples/static/epydoc/index.html
uploadfolder=None
uploadseparate=False # upload to separate directories by uuid_keys
# first 2 character and
tablename.fieldname
# False - old behaviour
# True - put uploaded file in
# <uploaddir>/<tablename>.<fieldname>/
uuid_key[:2]
# directory)
On 10 dic, 19:17, Carlos <[email protected]> wrote:
> Hi,
>
> Is there any way to upload files in specific sub-folders?.
>
> I have multiple organizations and I have a requirement to upload all
> files to the respective organization sub-folder.
>
> Thanks,
>
> Carlos