{"action":"created","issue":{"url":"https://api.github.com/repos/gotev/android-upload-service/issues/132","repository_url":"https://api.github.com/repos/gotev/android-upload-service","labels_url":"https://api.github.com/repos/gotev/android-upload-service/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/gotev/android-upload-service/issues/132/comments","events_url":"https://api.github.com/repos/gotev/android-upload-service/issues/132/events","html_url":"https://github.com/gotev/android-upload-service/issues/132","id":155514827,"number":132,"title":"cant upload binary file","user":{"login":"omryros","id":16543540,"avatar_url":"https://avatars.githubusercontent.com/u/16543540?v=3","gravatar_id":"","url":"https://api.github.com/users/omryros","html_url":"https://github.com/omryros","followers_url":"https://api.github.com/users/omryros/followers","following_url":"https://api.github.com/users/omryros/following{/other_user}","gists_url":"https://api.github.com/users/omryros/gists{/gist_id}","starred_url":"https://api.github.com/users/omryros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omryros/subscriptions","organizations_url":"https://api.github.com/users/omryros/orgs","repos_url":"https://api.github.com/users/omryros/repos","events_url":"https://api.github.com/users/omryros/events{/privacy}","received_events_url":"https://api.github.com/users/omryros/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-18T14:24:35Z","updated_at":"2016-05-18T15:56:39Z","closed_at":null,"body":"hi first of all thanks for this library,\r\nI am trying to upload a binary file to a server \r\nthis is my code :\r\n```java\r\nLog.e(\"FILE NAME\",file.getName() +\" \" + file.getAbsolutePath());\r\nString uploadId = new BinaryUploadRequest(context, serverURL)\r\n        .setFileToUpload(file.getAbsolutePath())\r\n        .setNotificationConfig(new UploadNotificationConfig())\r\n        .setMaxRetries(2)\r\n        .startUpload();\r\n```\r\nand when i run this i always either get a failed upload or it says it uploaded successfully but the file on the server appears empty, any tips on how to handle this? "},"comment":{"url":"https://api.github.com/repos/gotev/android-upload-service/issues/comments/220072931","html_url":"https://github.com/gotev/android-upload-service/issues/132#issuecomment-220072931","issue_url":"https://api.github.com/repos/gotev/android-upload-service/issues/132","id":220072931,"user":{"login":"omryros","id":16543540,"avatar_url":"https://avatars.githubusercontent.com/u/16543540?v=3","gravatar_id":"","url":"https://api.github.com/users/omryros","html_url":"https://github.com/omryros","followers_url":"https://api.github.com/users/omryros/followers","following_url":"https://api.github.com/users/omryros/following{/other_user}","gists_url":"https://api.github.com/users/omryros/gists{/gist_id}","starred_url":"https://api.github.com/users/omryros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omryros/subscriptions","organizations_url":"https://api.github.com/users/omryros/orgs","repos_url":"https://api.github.com/users/omryros/repos","events_url":"https://api.github.com/users/omryros/events{/privacy}","received_events_url":"https://api.github.com/users/omryros/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T15:56:39Z","updated_at":"2016-05-18T15:56:39Z","body":"the multipart is being recieved as a text file, when i checked Postman app and sent with binary file it worked, but for some reason i cant get it to work from my app"}}