{"action":"created","issue":{"url":"https://api.github.com/repos/perry-mitchell/webdav-fs/issues/68","repository_url":"https://api.github.com/repos/perry-mitchell/webdav-fs","labels_url":"https://api.github.com/repos/perry-mitchell/webdav-fs/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/perry-mitchell/webdav-fs/issues/68/comments","events_url":"https://api.github.com/repos/perry-mitchell/webdav-fs/issues/68/events","html_url":"https://github.com/perry-mitchell/webdav-fs/issues/68","id":389973353,"node_id":"MDU6SXNzdWUzODk5NzMzNTM=","number":68,"title":"createwriteStream binary file","user":{"login":"sbergt","id":10496468,"node_id":"MDQ6VXNlcjEwNDk2NDY4","avatar_url":"https://avatars2.githubusercontent.com/u/10496468?v=4","gravatar_id":"","url":"https://api.github.com/users/sbergt","html_url":"https://github.com/sbergt","followers_url":"https://api.github.com/users/sbergt/followers","following_url":"https://api.github.com/users/sbergt/following{/other_user}","gists_url":"https://api.github.com/users/sbergt/gists{/gist_id}","starred_url":"https://api.github.com/users/sbergt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbergt/subscriptions","organizations_url":"https://api.github.com/users/sbergt/orgs","repos_url":"https://api.github.com/users/sbergt/repos","events_url":"https://api.github.com/users/sbergt/events{/privacy}","received_events_url":"https://api.github.com/users/sbergt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-11T22:03:30Z","updated_at":"2018-12-12T14:42:34Z","closed_at":null,"author_association":"NONE","body":"Hi i want to stream a binary file. (huge file) But is always empty. \r\n\r\nvar readStream = fs.createReadStream(\"./public/files/test.exe\");\r\n    readStream.setEncoding('binary');\r\n    readStream.pipe(wfs.createWriteStream(\"/test.exe\"));"},"comment":{"url":"https://api.github.com/repos/perry-mitchell/webdav-fs/issues/comments/446611205","html_url":"https://github.com/perry-mitchell/webdav-fs/issues/68#issuecomment-446611205","issue_url":"https://api.github.com/repos/perry-mitchell/webdav-fs/issues/68","id":446611205,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjYxMTIwNQ==","user":{"login":"perry-mitchell","id":3869469,"node_id":"MDQ6VXNlcjM4Njk0Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/3869469?v=4","gravatar_id":"","url":"https://api.github.com/users/perry-mitchell","html_url":"https://github.com/perry-mitchell","followers_url":"https://api.github.com/users/perry-mitchell/followers","following_url":"https://api.github.com/users/perry-mitchell/following{/other_user}","gists_url":"https://api.github.com/users/perry-mitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/perry-mitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perry-mitchell/subscriptions","organizations_url":"https://api.github.com/users/perry-mitchell/orgs","repos_url":"https://api.github.com/users/perry-mitchell/repos","events_url":"https://api.github.com/users/perry-mitchell/events{/privacy}","received_events_url":"https://api.github.com/users/perry-mitchell/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T14:42:34Z","updated_at":"2018-12-12T14:42:34Z","author_association":"OWNER","body":"Are you doing this in Node? Could you use the [`--inspect` flag](https://nodejs.org/en/docs/guides/debugging-getting-started/#enable-inspector) and check what the network request+response look like?\r\n\r\nAlso, your path is wrong as it contains a relative path. Paths on WebDAV should be absolute."}}
{"actor":{"display_login":"perry-mitchell"}}