I think you should be able to do something like: db.table.myupload.uploadfolder = variable_containing_path
You can probably do that anywhere before the upload folder is actually needed. Try it and see what happens. On Monday, October 17, 2011 1:30:57 PM UTC-4, miroslavgojic wrote: > > Field('myupload', 'upload', uploadfolder='path/to/your/folder') > This line go to model db.py (or my model file) > > > uploadfolder='path/to/your/folder' -* can this be*: > uploadfolder='variable' > I need to make variable from upload form. That variable have folder path > for upload location. > Can I make path definition in controller or view instead in model. > > - - Miroslav Gojic - - > > > On Mon, Oct 17, 2011 at 14:03, Anthony <abas...@gmail.com> wrote: > >> Field('myupload', 'upload', uploadfolder='path/to/your/folder') > > >