{"action":"created","issue":{"url":"https://api.github.com/repos/CollectionFS/Meteor-cfs-s3/issues/49","labels_url":"https://api.github.com/repos/CollectionFS/Meteor-cfs-s3/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/CollectionFS/Meteor-cfs-s3/issues/49/comments","events_url":"https://api.github.com/repos/CollectionFS/Meteor-cfs-s3/issues/49/events","html_url":"https://github.com/CollectionFS/Meteor-cfs-s3/issues/49","id":56796415,"number":49,"title":"Question: storing in a different folder on a per-user basis","user":{"login":"tanis2000","id":287841,"avatar_url":"https://avatars.githubusercontent.com/u/287841?v=3","gravatar_id":"","url":"https://api.github.com/users/tanis2000","html_url":"https://github.com/tanis2000","followers_url":"https://api.github.com/users/tanis2000/followers","following_url":"https://api.github.com/users/tanis2000/following{/other_user}","gists_url":"https://api.github.com/users/tanis2000/gists{/gist_id}","starred_url":"https://api.github.com/users/tanis2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanis2000/subscriptions","organizations_url":"https://api.github.com/users/tanis2000/orgs","repos_url":"https://api.github.com/users/tanis2000/repos","events_url":"https://api.github.com/users/tanis2000/events{/privacy}","received_events_url":"https://api.github.com/users/tanis2000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T10:39:56Z","updated_at":"2015-02-11T14:47:25Z","closed_at":"2015-02-10T16:45:26Z","body":"Hi guys,\r\n\r\nis it possible to set the folder of the uploaded file on a per-file basis instead of setting it in the storage object?\r\nThe use-case is to be able to store the files of a certain user inside that user's own folder instead of storing all of the files in a shared one.\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/CollectionFS/Meteor-cfs-s3/issues/comments/73892314","html_url":"https://github.com/CollectionFS/Meteor-cfs-s3/issues/49#issuecomment-73892314","issue_url":"https://api.github.com/repos/CollectionFS/Meteor-cfs-s3/issues/49","id":73892314,"user":{"login":"tanis2000","id":287841,"avatar_url":"https://avatars.githubusercontent.com/u/287841?v=3","gravatar_id":"","url":"https://api.github.com/users/tanis2000","html_url":"https://github.com/tanis2000","followers_url":"https://api.github.com/users/tanis2000/followers","following_url":"https://api.github.com/users/tanis2000/following{/other_user}","gists_url":"https://api.github.com/users/tanis2000/gists{/gist_id}","starred_url":"https://api.github.com/users/tanis2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanis2000/subscriptions","organizations_url":"https://api.github.com/users/tanis2000/orgs","repos_url":"https://api.github.com/users/tanis2000/repos","events_url":"https://api.github.com/users/tanis2000/events{/privacy}","received_events_url":"https://api.github.com/users/tanis2000/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T14:47:25Z","updated_at":"2015-02-11T14:47:25Z","body":"@aldeed thanks for the bit of code, that really enlightened me on how to work with this. I was also wondering if the fileObj._id is actually guaranteed to be unique or it could by any chance be duplicated. Any idea?\r\n"}}