Accessing Box from the Cluster
One can now transfer files to and from Box using lftp!
Important Notice and Use Cases
Notice: lftp was designed to make both FTP and FTPS connections. Do not attempt to connect to FTP servers with lftp! If you get SSL/TLS errors from lftp they can be translated to, "you can't connect to that server and won't be allowed to connect to that server from the cluster". Please only use this tool when it is absolutely necessary! Two obvious use cases:
1. Transfer files to share with people outside of the University, or vice versa
2. Backing up old project data
1. Navigate to [Pitt Box] and log in.
2. Access Account Settings (clicking name for dropdown menu, image to right)
3. Edit External Password (image below), password should be strong!
4. Log into the cluster and type: lftp -u $USER@pitt.edu ftps://ftp.box.com
5. Enter your password and viola!
* After you enter your password and type the first command it will take a second to make the connection
* Note $USER is your logon username. If you give the wrong username or password, no errors will be prompted. You will be logged on ftp.box.com as anonymous user.
* Access the help with help
* Supports standard unix commands for navigation (ls, cd) and modification (rm, mv)
* lcd is "local cd" to move around your directory tree instead of the remote one
* One can run any local command by prefixing with ! (!ls)
* To download or get files, just type get
* To upload or put files, just type put
* lftp doesn't support get *.txt, instead write glob get *.txt (get all files which end in ".txt")
* Exercise extreme caution when typing rm!
*mirror Mirror specified source directory to the target directory. By default the source is remote and the target is a local directory. When using -R, thesource directory is local and the target is remote.
* Individual file sizes can't be more than 15GB.