dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 101 forks source link

[HELP] Download data w/o having to authorize from the web interface? #151

Open tashrifbillah opened 3 years ago

tashrifbillah commented 3 years ago

I downloaded dbxcli-darwin-amd64 from the release page. I authorized it from my local computer+dropbox profile and obtained credentials like below:

dbxcli account

Account Id:        dbid:AAA...
...
Referral Link:     https://www.dropbox.com/referrals/AAC...
...
Team:
  Name:      Hello World
  Id:        dbtid:AAC...
  Member Id: dbmid:AAD...

Now I would like to download a dropbox hosted file inside an Azure pipeline:

dbxcli --as-member dbid:AAA... get my_file.zip

Although I provided --as-member, it asks for authorization from the web interface again. Is it expected? In other words, is there a way within dbxcli to download stuff in an unknown machine w/o having to authorize from the web interface again?