# Restful S3 Explorer

**URL:** <https://www.ruby-forum.com/t/restful-s3-explorer/160629>\
**Category:** Rails\
**Created:** [February 18, 2009, 9:39am UTC](https://www.ruby-forum.com/t/restful-s3-explorer/160629 "2009-02-18T09:39:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![manuel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/67e7ee/32.png) [@manuel](https://www.ruby-forum.com/u/manuel)\
**Post date:** [February 18, 2009, 9:39am UTC](https://www.ruby-forum.com/t/restful-s3-explorer/160629/1 "2009-02-18T09:39:16Z")

</div>

Hi everyone,  
I’m working on a S3 Bucket Explorer.  
My problem is the identifier of a S3 Object, it’s a key like this:  
“Butterfly.wmv” or even “something/else.pdf”  
Now i try to make this restful, but the key confuses the routing (or  
just me)

map.resources :s3files  
map.connect ‘:controller/:id’, :id =\> /.\*/

This isn’t working as soon as i have a dot or slash in the key.  
Is it possible to get everything behind the controller as the id?

Something like this:

DELETE s3files/Butterfly.wmf  
GET s3files/something/else.pdf
