This is now fixed in trunk. thanks.
On Feb 24, 3:07 pm, Rowdy wrote:
> mdipierro wrote:
> > You can do it both ways.
>
> > If you choose to retain the original names you will have to create
> > your own "download" action.
>
> > def mydownload(): return
> > response.stream(open(os.path.join(reques
mdipierro wrote:
You can do it both ways.
If you choose to retain the original names you will have to create
your own "download" action.
def mydownload(): return
response.stream(open(os.path.join(request.folder,'upload','/'.join(request.args)),'rb'))
You lose the ability to enforce granular ac
You can do it both ways.
If you choose to retain the original names you will have to create
your own "download" action.
def mydownload(): return
response.stream(open(os.path.join(request.folder,'upload','/'.join(request.args)),'rb'))
You lose the ability to enforce granular access control.
I wo
Hi,
Short answer is: use web2py :-)
I've had similar issue some time ago with collection of pictures.
I defined function (say 'movePictures') which iterate through all
pictures in source directory (other then 'uploads') and used web2py
DAL to insert them into database (and uploads directory) and
4 matches
Mail list logo