How to download a publicly available file from the command line?

SOLVED
Go to solution
Highlighted
New Contributor

How to download a publicly available file from the command line?

I am new to Box so I don't know how things work. There is a folder of files that was made publicly available so that I can download them from my browser on my personal computer without even being logged in to Box. How would I download the same files from the command line on Linux? I think I should be able to search for the file ID given the file name, but I can't figure out how. Also, I'm not sure whether I need to authenticate as part of this process.

3 REPLIES
Contributor

Re: How to download a publicly available file from the command line?

You may want to start by checking out Box's API reference (https://developer.box.com/reference). 

Then there are command line tools like wget and curl and text based browsers like w3m, lynx, and elink.  My personal favorite to access Box, not using a URL, is rclone (rclone.org).  

 

Steve

New Contributor

Re: How to download a publicly available file from the command line?

Solved. Once I joined the folder so that it was in my own Box account, the curl command in the API worked fine.

Visitor

Re: How to download a publicly available file from the command line?

Hi, Can you give me some more details how you download the publicly files from the command line? I want to download the public file here https://app.box.com/s/u3flbp13zjydegrxjb2uepagp1vb6bj2/folder/4***phone number removed for privacy**..., What should I do? Thank  you.