Linux (Command-line)Most recent versions of Linux have the ability to mount arbitrary filesystems as subfolders within your filesystem using FUSE. We can leverage the power of FUSE with a FUSE mounter for WebDAV to allow our Linux system to mount Box as folder on our system and interact with the files in our Box account much like that of a normal file.
In a Debian-distro (e.g. Ubuntu), you will first need to ensure you have the davfs2 package installed.
$ sudo apt-get install davfs2Now, create a folder that will be used for Box mounting:
$ mkdir ~/box.comMake a backup of your /etc/fstab file:
$ sudo cp /etc/fstab /etc/fstab.bakNow, add a new entry to your /etc/fstab. BEFORE PRESSING ENTER, MAKE SURE YOU ENTER THE COMMAND BELOW EXACTLY AS IT APPEARS. If you mess up, restore your backup made in the previous step before doing anything else:
$ sudo sh -c "echo https://www.box.com/dav $HOME/box.com davfs rw,user,noauto 0 0 >> /etc/fstab"Now, reconfigure the davfs2 package to allow users to mount (select Yes in the prompt):
$ sudo dpkg-reconfigure davfs2Then add your username to the davfs2 group:
$ sudo adduser $USER davfs2Now, let's configure the mount point:
$ mkdir ~/.davfs2 $ cp /etc/davfs2/davfs2.conf ~/.davfs2Modify the configuration file and make the following changes:
$ nano ~/.davfs2/davfs2.conf
- Comment out the line "ignore_home"
- Uncomment the line "use_locks" and replace it with:
$ cp /etc/davfs2/secrets ~/.davfs2 $ echo https://www.box.com/dav [email@example.com] [password] >> ~/.davfs2/secretsNow you should be able to mount your account to the box.com folder and browse it:
$ mount ~/box.comYou could also add a script to your desktop to do the mount for you:
$ nano ~/Desktop/MountBox.sh #!/bin/sh # Mount Box to ~/box.com mount ~/box.comYou can also unmount it:
$ umount ~/box.com(source: http://ubuntuforums.org/showpost.php?p=11258734&postcount=34)
Linux (Nautilus GUI)If you don't need command-line level access to your Box account, you can also mount the WebDAV directory by using Nautilus (if you are using Ubuntu, for example).
While you Desktop is in focus, click File > Connect to Server in the menu bar. Type www.box.com and choose "Secure WebDAV (HTTPS)" in the Type dropdown. Enter "/dav/" in the folder and provide your credentials (hint: email as username).
WindowsWindows 7 also supports mounting WebDAV but as a special folder in Computer. Open "Computer", right-click and select "Add Network Location." In the address field, type "https://www.box.com/dav/" and finish.
MacOS XLike using Nautilus on Linux, MacOS X has the capability to use WebDAV in a GUI. Though I do not use MacOS X personally, from what I have gathered from the web, you can use Finder, then go to Go > Connect to Server to connect to "https://www.box.com/dav/". You will be prompted for your Box username and password.