BigCommerce is my hosted shopping cart of choice and I recommend it to most of my clients.
Recently, BigCommerce announced that they are phasing out FTP support in favor of WebDAV.
This mostly won’t affect store owners, but it will have an impact on those to manage a BigCommerce store — web designers and developers who need access to the store’s template files.
The instructions BigCommerce currently have on their website for setting up WebDAV are geared toward those running Windows and Mac OSX. Unfortunately, there’s a sizable percentage of developers who work on Linux. For those using WebDAV on Linux, the details currently on the BC site will not work.
If you use Ubuntu (or any other distribution that uses Gnome, I assume), getting setup with WebDAV is pretty simple.
Enable WebDAV Access
We first have to enable WebDAV access in the store’s BigCommerce control panel.
- Log into the store’s control panel
- Go to the Users section
- Find the user for whom you want to allow WebDAV access and click the Edit link
- Under the Permissions section, tick the option
Find Your WebDAV Login Info
Now that you’ve enabled WebDAV access for the account (and making sure you’re logged into the control panel as that user), you can grab the login details.
- Go to Settings -> File Access
- Note the details under the WebDAV tab
Setup the WebDAV Connection In Nautilus
Ubuntu (I’m currently running 12.04) and Nautilus should have everything you need for accessing WebDAV share, so you should not need to install anything extra.
- Open Nautilus
- Go to File -> Connect to Server…
- Use the following details:
- Select Secure WebDAV (HTTPS) as the Type
- Port 443 should work (it’s default)
- Default folder is fine left at ‘/‘
- Use the BigCommerce control panel username and password for the user that you gave WebDAV access to, and tick the Remember this password option
Note the WebDAV path that was given to you in the BigCommerce control panel. It probably looks something like this:
While this URL apparently works in Windows and Mac OSX, you will not be able to connect using this address in Linux. Instead, replace https:// with davs://
Enter that address into the Server field in Nautilus and click Connect.
If all the details are correct, you should see the contents of your BigCommerce store loaded into Nautilus, and will show up as a mounted drive/filesystem in the Nautilus sidebar.
Update (09/18/2012): Depending on how your domain name is registered and setup, it may also be required that you keep the ‘www.’ in the URL. If you get an error message, double check that you’ve included the ‘www.’.
I recommend bookmarking the server so you can find it easier.
- In Nautilus, right-click on the name of the WebDAV share in the sidebar
- Select Add Bookmark from the menu
If you manage multiple BigCommerce stores, you will want to change the default name of the WebDAV share to avoid confusion.
- Once you’ve added the share as a bookmark in Nautilus, go to Bookmarks -> Edit Bookmarks…
- Scroll down the list of bookmarks, select the new WebDAV share, and change its name to something more meaningful
- Bonus: You can drag and drop the bookmarks to reorder them
- Click Close to save your changes, and you will see the change reflected in the Bookmarks section in Nautilus