Aha! So then could you write the following: import random Field('filename','upload', uploadfolder=['c:/web2py/myapp/uploads','d:/extrastorage/myapp/ uploads'][random.randint(0,1)], uploadseparate=2, )
and expect the files to be uniformly distributed across 2 filesystems? That (or its equivalent) would be awesome. On Jun 12, 4:20 pm, szimszon <szims...@gmail.com> wrote: > No because you can specify the location of uploaded material so it can > be on any filesystem, and uploadseparate work under uploadfolder to... > > On jún. 12, 21:57, weheh <richard_gor...@verizon.net> wrote: > > > > > One more question -- doesn't this eliminate the need for > > Field(...uploadfolder=pathname,...)? I suppose keeping the > > uploadfolder parameter is a good thing to keep for anyone who wants to > > use it for their own special purpose. But if the issue is about > > storing a gazillion upload files for efficient retrieval, then this > > new method does it for you automatically without having to resort to > > uploadfolder=pathname. Right?- Hide quoted text - > > - Show quoted text -