I have the following upload field definition:

...
Field('application', 'upload', uploadfolder=request.application + 
'/uploads/applications', autodelete=True)
...

db.mytable.application.requires = IS_UPLOAD_FILENAME(extension=
'(doc|DOC|docx|DOCX|pdf|PDF|odt|ODT|rtf|RTF)', error_message='Use PDF, DOC, 
DOCX, ODT or RTF')

The upload is being performed with no errors and the file is available for 
download via Appadmin. However, the file itself is not stored in the 
specified upload folder, which remains empty. Neither is the file stored in 
app/uploads.

What am I doing wrong and where is my uploaded file being saved?

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to