I am facing the issue thatthe artifact are stored in download section of one repository, i want to move the .zip from my first repository to second repository.How it is possible.Curl command is not working for me
G'day, @Muhammad Seemab Akhlas
Welcome to the community!
If I understand this correctly, you wanted to transfer a zip file residing on repository A to repository B via Curl? If yes, I believe this is not possible, you have to download the zip files from repository A and manually upload them to repository B via the UI or the following curl commands example:
curl -u username:app_password -X POST https://api.bitbucket.org/2.0/repositories/<workspace>/<repository_name>/src -F repo-filename.ext=@local-filename.ext
I hope this helps
Regards,Syahrul
It looks like you're new here. Sign in or register to get started.