Skip to end of metadata
Go to start of metadata

UNL has come to an arrangement with to provide unlimited cloud storage to every student, staff, and faculty member.  This can be useful when used with jobs to automatically upload results when the job has completed.  Combined with Box Sync, the uploaded files can be sync'd to your laptop or desktop upon job completion. The upload and download speed of Box is about 20 to 30 MB/s in good network traffic conditions.

Step-by-step guide

  1. You need to create your UNL account here.
  2. Since we are going to be using webdav protocol to access your storage, you need to create an External Password.  In the interface, you can create it at Account Settings > Create External Password.

  3. Create a .netrc file in order to automatically login to your box account without typing the password.  The file needs to be in your home directory, ie ~/.netrc.  The format of the file should be:

    	login <box_username>
    	password <external_password>

    Be sure to have the correct permissions on the file.  You can change the permissions with the command:

    $ chmod 600 ~/.netrc
  4. Try out the webdav client by issuing the command:

    $ cadaver

    It should give you a prompt like:


    Exit the prompt by pressing ctrl-d

  5. During your job, you can upload and download files using commands such as:

    #SBATCH ...
    cat << EOF | cadaver 
    get inputfile.txt
    cat << EOF | cadaver 
    put outputfile.txt
  6. The files should automatically appear in your Box account, and be sync'd to your computer if you have the sync client installed.