You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to download an artifact I have uploaded to Bitbucket Downloads through cURL or wget. The issue seems to be that the cURL and wget don't receive an answer from the Bitbucket API.
How to reproduce:
- Have a file stored in https://bitbucket.org/
- Have an App password
- Use cURL/wget and the API to download the file.
- No output returns.
I have tried different variations, for example with a different Agent-Header:
curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -u
But does not work.
I also have tried to follow the Step3b from the Deploy build artifacts to Bitbucket Downloads
but instead of POST trying with GET but the output is:
curl: (26) Failed to open/read local data from file/application
I'm not sure if the issue is from my side or any kind of bug or problem with the Bitbucket Cloud API.
The problem is related to the redirects. cURL was not following the redirects.
The -L flag makes cURL follow to the last redirect and downloads the file.
curl -L --compressed -X GET -u