{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/35","labels_url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/35/comments","events_url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/35/events","html_url":"https://github.com/balderdashy/skipper-s3/issues/35","id":109507651,"number":35,"title":"Directory permissions issue on Windows","user":{"login":"Maowse","id":9093806,"avatar_url":"https://avatars.githubusercontent.com/u/9093806?v=3","gravatar_id":"","url":"https://api.github.com/users/Maowse","html_url":"https://github.com/Maowse","followers_url":"https://api.github.com/users/Maowse/followers","following_url":"https://api.github.com/users/Maowse/following{/other_user}","gists_url":"https://api.github.com/users/Maowse/gists{/gist_id}","starred_url":"https://api.github.com/users/Maowse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maowse/subscriptions","organizations_url":"https://api.github.com/users/Maowse/orgs","repos_url":"https://api.github.com/users/Maowse/repos","events_url":"https://api.github.com/users/Maowse/events{/privacy}","received_events_url":"https://api.github.com/users/Maowse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T14:54:35Z","updated_at":"2015-11-19T16:07:10Z","closed_at":"2015-11-02T05:14:28Z","body":"We are able to upload files to our s3 bucket from a machine running OSX, but running the same code on a Windows 7 machine results in the following error:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9093806/10249541/e0ff71e2-68f3-11e5-9c8e-b23369ecffa2.png)\r\n\r\n\r\nFor some reason, it appears that the Windows machine has issues accessing the intermediate directory that skipper-s3 makes when a dirname is specified. If we remove the dirname property, the file is uploaded with no issues.\r\n\r\nWe use the following code to upload:\r\n\r\n```\r\nreq.file('receipt').upload({\r\n               adapter: require('skipper-s3'),\r\n               key: 'XXXXXXXXX',\r\n               secret: 'XXXXXXXX',\r\n               bucket: 'someBucket',\r\n               region: \"us-east-1\",\r\n               dirname: 'someDirectory'\r\n           }\r\n```"},"comment":{"url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/comments/158102226","html_url":"https://github.com/balderdashy/skipper-s3/issues/35#issuecomment-158102226","issue_url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/35","id":158102226,"user":{"login":"mattcodez","id":2740549,"avatar_url":"https://avatars.githubusercontent.com/u/2740549?v=3","gravatar_id":"","url":"https://api.github.com/users/mattcodez","html_url":"https://github.com/mattcodez","followers_url":"https://api.github.com/users/mattcodez/followers","following_url":"https://api.github.com/users/mattcodez/following{/other_user}","gists_url":"https://api.github.com/users/mattcodez/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcodez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcodez/subscriptions","organizations_url":"https://api.github.com/users/mattcodez/orgs","repos_url":"https://api.github.com/users/mattcodez/repos","events_url":"https://api.github.com/users/mattcodez/events{/privacy}","received_events_url":"https://api.github.com/users/mattcodez/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T16:07:10Z","updated_at":"2015-11-19T16:07:10Z","body":"@Maowse  Did you happen to find a solution for this? My current thought is that I'll have to compute my own filename hash and pass a function to `saveAs` so that I can specify an S3 directory."}}