No
filename = request.vars.varwithFile.filename or 'filename.txt' stream = request.vars.varwithFile.file or open(filename,'rb') db.photo.insert(file=db.photo.file.store(stream),filename=filename) On Nov 24, 3:37 pm, António Ramos <ramstei...@gmail.com> wrote: > but if i want, using the shell, to add and image manually > do i use > db.photo.insert('file'=varwithFile) > ????? > > *my test model is > db.define_table('photo', > Field('file','upload'))* > > Best regards > António