[web2py] Re: Uploads saving to DB, but not to file system

2012-04-06 Thread rdodev
Issue posted. On Friday, April 6, 2012 11:47:29 AM UTC-4, Massimo Di Pierro wrote: > > say you have a vars.file_name that contains the file to be uploaded. > Before the insert you need to do (I think): > > vars.file_name = > db.UPLOAD.file_name.store(vars.file_name.file,filename=ars.file_name.fi

[web2py] Re: Uploads saving to DB, but not to file system

2012-04-06 Thread Massimo Di Pierro
say you have a vars.file_name that contains the file to be uploaded. Before the insert you need to do (I think): vars.file_name = db.UPLOAD.file_name.store(vars.file_name.file,filename=ars.file_name.filename) Perhaps this can be automated a little but. Let me give it some thought. Please open