{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudfoundry/cli/issues/248","labels_url":"https://api.github.com/repos/cloudfoundry/cli/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cli/issues/248/comments","events_url":"https://api.github.com/repos/cloudfoundry/cli/issues/248/events","html_url":"https://github.com/cloudfoundry/cli/issues/248","id":41081867,"number":248,"title":"Feature Request: Support downloading raw files","user":{"login":"youngm","id":438661,"avatar_url":"https://avatars.githubusercontent.com/u/438661?v=3","gravatar_id":"","url":"https://api.github.com/users/youngm","html_url":"https://github.com/youngm","followers_url":"https://api.github.com/users/youngm/followers","following_url":"https://api.github.com/users/youngm/following{/other_user}","gists_url":"https://api.github.com/users/youngm/gists{/gist_id}","starred_url":"https://api.github.com/users/youngm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngm/subscriptions","organizations_url":"https://api.github.com/users/youngm/orgs","repos_url":"https://api.github.com/users/youngm/repos","events_url":"https://api.github.com/users/youngm/events{/privacy}","received_events_url":"https://api.github.com/users/youngm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-08-25T17:06:37Z","updated_at":"2015-09-03T17:28:08Z","closed_at":"2015-09-03T17:28:08Z","body":"We'd like to download raw binary and text files from the cli.  I know you can `>` the output but it adds the `Getting files for app\\nOK` message to the output which is annoying and doesn't work with binary files.\r\n\r\nI'm thinking an arg like -f would work.\r\n\r\n`cf files app app/someBinary.zip -f localBinary.zip`\r\n\r\nAs a side note.  We have  a fork of the CLI.  It would be handy if there was a way to invoke `net.doRequest` (https://github.com/cloudfoundry/cli/blob/master/cf/net/gateway.go#L402) without `net.dumpResponse` dumping the response body as well.  https://github.com/cloudfoundry/cli/blob/master/cf/net/http_client.go#L59\r\n\r\nI imagine changing that api will be necessary to fix this issue so it would be great if it was fixed in such a way that others could take advantage of the ability to execute requests that don't dump the response body aswell.\r\n\r\nThanks,\r\nMike"}}