{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-android/issues/63","labels_url":"https://api.github.com/repos/aws/aws-sdk-android/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-android/issues/63/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-android/issues/63/events","html_url":"https://github.com/aws/aws-sdk-android/issues/63","id":110065193,"number":63,"title":"TransferUitlity should have ACL option for uploading file (needs 2 request to upload a public-read file)","user":{"login":"fernando-closs-clansoft","id":12850321,"avatar_url":"https://avatars.githubusercontent.com/u/12850321?v=3","gravatar_id":"","url":"https://api.github.com/users/fernando-closs-clansoft","html_url":"https://github.com/fernando-closs-clansoft","followers_url":"https://api.github.com/users/fernando-closs-clansoft/followers","following_url":"https://api.github.com/users/fernando-closs-clansoft/following{/other_user}","gists_url":"https://api.github.com/users/fernando-closs-clansoft/gists{/gist_id}","starred_url":"https://api.github.com/users/fernando-closs-clansoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernando-closs-clansoft/subscriptions","organizations_url":"https://api.github.com/users/fernando-closs-clansoft/orgs","repos_url":"https://api.github.com/users/fernando-closs-clansoft/repos","events_url":"https://api.github.com/users/fernando-closs-clansoft/events{/privacy}","received_events_url":"https://api.github.com/users/fernando-closs-clansoft/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-sdk-android/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/aws/aws-sdk-android/labels/feature%20request","name":"feature request","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-10-06T17:59:30Z","updated_at":"2015-11-12T20:06:20Z","closed_at":null,"body":"The transfer utility is fantastic, but there is too much limitation on changing the putobjectrequest, it is only possible to set the metadata. Something like the TransferUtilityUploadRequest (as in .Net sdk) should be also available in Android.\r\n\r\nTo upload a public-read file using it, i need to handle the successful upload, then set the ACL, then finally notify the success on uploading the file. One unnecessary extra request, but i wouldn't like to lose all the benefits of the TransferService and Transfer Utility.\r\n\r\nThanks for your attention."},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-android/issues/comments/156219672","html_url":"https://github.com/aws/aws-sdk-android/issues/63#issuecomment-156219672","issue_url":"https://api.github.com/repos/aws/aws-sdk-android/issues/63","id":156219672,"user":{"login":"fosterzhang","id":4554934,"avatar_url":"https://avatars.githubusercontent.com/u/4554934?v=3","gravatar_id":"","url":"https://api.github.com/users/fosterzhang","html_url":"https://github.com/fosterzhang","followers_url":"https://api.github.com/users/fosterzhang/followers","following_url":"https://api.github.com/users/fosterzhang/following{/other_user}","gists_url":"https://api.github.com/users/fosterzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/fosterzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fosterzhang/subscriptions","organizations_url":"https://api.github.com/users/fosterzhang/orgs","repos_url":"https://api.github.com/users/fosterzhang/repos","events_url":"https://api.github.com/users/fosterzhang/events{/privacy}","received_events_url":"https://api.github.com/users/fosterzhang/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T20:06:20Z","updated_at":"2015-11-12T20:06:20Z","body":"@fernando-closs-clansoft that should do the job :).\r\n\r\nWhat I proposed is an alternate solution and is applicable most of the time. There are a few benefits.\r\n- Better management of objects as they are grouped by certain prefixes (or directories). For example, public objects go to `public/` and private ones go to `private/`.\r\n- Easy to change access permission. Simply update the bucket policy.\r\n\r\nJust my two cents.\r\n\r\nBack to the original topic, I'll leave this issue open as feature request."}}