cli icon indicating copy to clipboard operation
cli copied to clipboard

Downloading the bits for a package recognizing text only

Open jeffpak opened this issue 11 years ago • 3 comments

Currently, downloading the bits for a package using cf curl /v2/apps/:guid/download doesn't return the same bits as a regular curl. We think this has something to do with the bits being returned in text mode, rather than in binary.

For example, cf curl /v2/apps/:guid/download | sha1sum is different than curl https://api.example.com/v2/apps/:guid/download | sha1sum.

jeffpak avatar Jul 16 '15 23:07 jeffpak

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/99271000.

cf-gitbot avatar Jul 16 '15 23:07 cf-gitbot

@jeffpak93 We couldn't reproduce the issue using OSX.

Curl wasn't able to download the app bits when we used the curl command you have posted, we had to manually extract the redirected URL from curl and issue a second curl for the download to work. Both cf curl and curl produced the same shasum.

simonleung8 avatar Oct 26 '15 23:10 simonleung8

Closing as not reproducible. Feel free to re-open if you can help us reproduce it with the latest cf CLI release.

  • CLI team

dkoper avatar Nov 04 '15 22:11 dkoper