That is the problem as i cannot afford extra Performance. I will have to iterate over 3000+ files to rename , which will cost considerable amount of processing power plus it is Disk IO.
http://localhost:8000/welcome/static/My Photo.png Is there any way to change this behavior ? As i am doing it for inhouse application, portability is not an issue. Or have to patch web2py for it ? if then , where? On 7/23/10, mdipierro <[email protected]> wrote: > If the path contains spaces, web2py replaces them with _ before > accessing the filesystem. You need to rename your files and folders > that contains ' '. This is for portability. > > On Jul 23, 4:43 am, Phyo Arkar <[email protected]> wrote: >> Hello Web2py. >> >> I guess previous post didn't go out due to mobile connection problem. >> >> How can i serve static files which have space in filename? >> eg : >> >> http://localhost:8000/welcome/static/MyPhoto.png >> >> I am making an archive extractor which extract files over web2py and >> it may have files with space in filename/Direcotry name. >> >> I cannot afford to rename (due to performance reson , files can be as >> many as 3000 +)

