I'm using the latest trunk stuff with the new uploadseparate capability. # model db.define_table('book', Field('filename','upload',autodelete=True, uploadseparate=2, requires=( IS_UPLOAD_FILENAME(extension='pdf|txt|doc'), IS_LENGTH(5000000,10)) )
#controller form=SQLFORM.factory(db.auth_user,db.book) if form.accepts(request.vars,formname='form',onvalidation=check_form): book_id=create_book(form) # BOOK GETS CREATED OK # THE NEXT LINE ISN'T WORKING AND NO FILE UPLOADED TO uploads FOLDER db.book[book_id].update( filename=db.book.filename.store(request.vars.filename.file,request.vars.filename.filename) Anybody know what the right way is to get db.book.filename to update properly and to get the file to upload? This should be trivial.