couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Davies <>
Subject Re: [jira] Closed: (COUCHDB-167) Files can not be attached to documents with forward slashes in their names to simulate a folder hierarchy
Date Tue, 30 Dec 2008 15:41:36 GMT

On 30 Dec 2008, at 14:16, Justin Walgran wrote:

> I do see that my design documents now show without %2F (awesome) _but_
> I still have the same issue. When I upload a file named
> "images/pickle.gif" it gets attached as "images:pickle.gif" and can
> only be retrieved by requesting "_design/doc/images%3Apickle.gif"

How are you uploading the file, are you using Futon? I'm not sure why  
it's being attached with a colon used as a separator, but it sounds  
like the client you are using is doing some processing on the  
filename.  If you PUT an attachment (using curl or similar) it should  
work fine.  I'm not sure how to get Futon to put a slash in the  
filename in any case, as it just names the attachment the same as the  
file you're uploading.  If you let me know how you are doing this  
maybe I can work up a patch for Futon if it is needed.


View raw message