Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use a x-token-auth request to download files ( rather than cloning a rep)

pvittali May 9, 2018

I understand that I can clone a repo like so:

 

$ git clone https://x-token-auth:{access_token}@bitbucket.org/user/repo.git

 

Can I use the same request type to download a file ?

$ wget https://x-token-auth:{access_token}@bitbucket.org/user/myfile

When I try, I get :

HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="Bitbucket.org HTTP"
Reusing existing connection to bitbucket.org:443.
HTTP request sent, awaiting response... 401 Unauthorized

Username/Password Authentication Failed.

 

Regards and thanks

Peter

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events