[web2py] Re: Problems with file upload in Catalina

2019-11-24 Thread Val K
Use os.path.join() to build path -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Re: Problems with file upload in Catalina

2019-11-24 Thread Stephan
I found out that setting adding a slash in the path fixes the behaviour: Field('logo', 'upload', uploadfolder=request.folder+'*/*static/images'), instead of Field('footer', 'upload', uploadfolder=request.folder+'static/images'), Does anyone know why all this is? Am Sonntag, 24. November

[web2py] Problems with file upload in Catalina

2019-11-24 Thread Stephan
Hello, with the latest web2py version and Catalina, I found that the file upload does not behave like before. When doing a file upload with sqlform grid, with the uploadfolder set to static "uploadfolder=request.folder+'static'" in the models, the files are stored outside the app, in a newly cre