scireum/s3ninja

Local Storage of Files

daadu opened this issue · 5 comments

daadu commented

having underscored path is very common, which breaks the functionality. would be better to map __ (double underscores) to / for stored file names

See closed PR #146. A proper solution probably needs to be more complicated than that. 🤔 Feel free to open a new issue describing the problem. 👍

gaul commented

It is a bit more work, but S3Proxy uses Apache jclouds to store /path/file inside directories delimited by /. This code is not pretty but you can see getBlobKeysInsideContainer and populateBlobKeysInContainer if you want to port this to S3Ninja. The primary advantage of this is allowing exporting an existing filesystem via the S3 protocol.

Thanks @gaul! This is very interesting. Hmm. 🤔 (Unfortunately, I personally won't have the time to implement that.)

Also see #103, #42, #58

The linked PR #158 attempts to fix this issue. It will allow for arbitrary object keys.