Using Box on Linux
Presently, there is no Box client for Linux. Rutgers University and several other institutions advocate the use of Linux. That said, Box can still be used effectively via HTTPS. Follow the below instructions to install and run Box on Linux.
You can access your Box account using the web interface, which will give you the ability to preview, upload, and download files. Just log in through CAS using your Rutgers NetID.
The lftp command is a powerful file transfer client, designed for Unix and Unix-like operating systems. Box supports the secure FTPS protocol, which you can use with lftp for secure file transfer and mirroring. The lftp command will auto-negotiate to use FTPS and the following example enforces that absolutely no unencrypted FTP is ever attempted.
Once you are connected, you can use normal FTP commands like “is,” “get,” “put,” etc.
One interesting application of lsftp with Box is using it to mirror a local directory in a manual way. Below is a sample script that mirrors a local /u/username/MyProject directory to Box into a folder of the same name (MyProject):
When you run this script, it will prompt for a password and then mirror your local directory to Box. Each time you run it, it will re-sync any changes on the local filesystem with the copy on Box. The –verbose option causes lftp to tell you exactly what it is doing. If you are doing this via crontab, you probably want to remove that and you will also need to pass along the password in the script so do that with caution.
Note that when using this method, you may have it fail with this message: