Are you sure the images with spaces are uploaded by appcfg.py?
Look at the --verbose and --noisy options of appcfg.py, to see if the
files are uploaded.
Create a new file with a space and see if it gets uploaded.
An URL with a %20 should be handled correctly by the webserver.

There are numerous tools out there that renames files, some of them are free.
You can always write a small python script that traverses the
directory and generates
move commands. Save them in a file and run the batch file (Win) or
source (Unix) the file.

2009/10/10 ramu <[email protected]>:
>
> I have an static director with following handler ..
>
>
> - url: /image
>  static_dir: image
>  expiration: 1d
>
>
> Everything inside image directory works perfectly well except .. a
> subdirectory with Images having Space in their name..
>
> ie ...
>
> /image/subdirectory/Image 345.png
>
> Now the browser sends the request in the form :
>
> /image/subdirectory/Image%20345.png
>
>
> Which fails with an 404 Error .Even when the image is there. How to
> handle this ... The other option to rename those 300 images one by one
> is rather ....  .. :(
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to