{"action":"closed","issue":{"url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2/issues/15","repository_url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2","labels_url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2/issues/15/comments","events_url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2/issues/15/events","html_url":"https://github.com/yakovkhalinsky/backblaze-b2/issues/15","id":140240226,"number":15,"title":"download binary","user":{"login":"GoNode5","id":2210672,"avatar_url":"https://avatars.githubusercontent.com/u/2210672?v=3","gravatar_id":"","url":"https://api.github.com/users/GoNode5","html_url":"https://github.com/GoNode5","followers_url":"https://api.github.com/users/GoNode5/followers","following_url":"https://api.github.com/users/GoNode5/following{/other_user}","gists_url":"https://api.github.com/users/GoNode5/gists{/gist_id}","starred_url":"https://api.github.com/users/GoNode5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoNode5/subscriptions","organizations_url":"https://api.github.com/users/GoNode5/orgs","repos_url":"https://api.github.com/users/GoNode5/repos","events_url":"https://api.github.com/users/GoNode5/events{/privacy}","received_events_url":"https://api.github.com/users/GoNode5/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2/milestones/7","html_url":"https://github.com/yakovkhalinsky/backblaze-b2/milestones/0.9.11","labels_url":"https://api.github.com/repos/yakovkhalinsky/backblaze-b2/milestones/7/labels","id":1595288,"number":7,"title":"0.9.11","description":"","creator":{"login":"yakovkhalinsky","id":646086,"avatar_url":"https://avatars.githubusercontent.com/u/646086?v=3","gravatar_id":"","url":"https://api.github.com/users/yakovkhalinsky","html_url":"https://github.com/yakovkhalinsky","followers_url":"https://api.github.com/users/yakovkhalinsky/followers","following_url":"https://api.github.com/users/yakovkhalinsky/following{/other_user}","gists_url":"https://api.github.com/users/yakovkhalinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakovkhalinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakovkhalinsky/subscriptions","organizations_url":"https://api.github.com/users/yakovkhalinsky/orgs","repos_url":"https://api.github.com/users/yakovkhalinsky/repos","events_url":"https://api.github.com/users/yakovkhalinsky/events{/privacy}","received_events_url":"https://api.github.com/users/yakovkhalinsky/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2016-02-21T06:39:02Z","updated_at":"2016-03-16T08:50:58Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-03-11T17:13:32Z","updated_at":"2016-03-16T08:50:58Z","closed_at":"2016-03-16T08:50:58Z","body":" cant get a valid file (test zip and mp3)\r\n```javascript\r\n   b2.downloadFileById(fileid).then(function(file){\r\n\t\t\t// tried   var bitmap = new Buffer(file.data,'base64');\r\n    \t\t\t//fs.writeFile('testload.txt',bitmap)\r\n\t\t\t\r\n         \t\t   fs.writeFile('testload.mp3',file.data, function(err) {\r\n\t\t\t\t\t\tconsole.log(err);\r\n\t\t\t\t});\r\n});\r\n```\r\nAny idea? thnx"}}