« Back

WebDAV

Company Blogs October 26, 2007 By Edward Shin Staff

I needed to upload some docs to our Document Library today, so I decided to give WebDAV a try instead of uploading each document one by one. I heard that our WebDAV implementation was buggy, so I wasn't looking forward to it, but I thought i'd give it a try anyways.

To my pleasant surprise, it worked pretty well! There were a few catches, I wasn't sure what to put in for my username and I wasn't able to create new folders, but I was able to bulk upload my documents! (For those of you who are interested, the username is the numeric User ID.)

Here's our wiki on WebDAV:
http://wiki.liferay.com/index.php/Accessing_the_Document_Library_with_WebDAV#How_to_Login

All that we have to do now is allow users to create new folders, and WebDAV will be really good!

Threaded Replies Author Date
i had someone in training ask that and i wasn't... James Min October 27, 2007 3:57 AM
I use dav.sourceforge.net to mount webdav in... Shepherd Ching April 29, 2008 8:30 PM
I tested WebDAV on trunk on Windows XP, and I'm... Edward Shin April 29, 2008 9:03 PM
You can use any of: - emailAddress - userId... Ray Augé April 30, 2008 8:05 AM
Thank you, Ray Augé, Nautilus is better than... Shepherd Ching May 1, 2008 6:16 AM

i had someone in training ask that and i wasn't quite sure what the username was.
Posted on 10/27/07 3:57 AM.
I use dav.sourceforge.net to mount webdav in Ubuntu

sudo apt-get install davfs2
sudo mount -t davfs http://localhost:8080/tunnel-web/secure/webdav/liferay.com/joebloggs/image_galle­ry /media/webdav

The mounted directory is read-only, I can copy but I cannot write image or douments
Posted on 4/29/08 8:30 PM.
I tested WebDAV on trunk on Windows XP, and I'm pretty sure it's possible to write images and documents and create folders too. I've never tested on Ubuntu though.
Posted on 4/29/08 9:03 PM in reply to Shepherd Ching.
You can use any of:

- emailAddress
- userId (you need to format it like so '@uid')
- screenName (you need to format it like so '@sn')

Don't try to embed any of these in the url, only do this from the u/p dialog, because urls break when they have two @ signs

i.e. http://my@email.tld:password@localhost/tunnel-web/secure/webdav/... won't work

Also, in Ubuntu, install 'gnome-user-share'

]$ sudo apt-get install gnome-user-share

and you can use this url directly from Nautilus to access webdav:

dav://localhost:8080/tunnel-web/secure/webdav/liferay.com
Posted on 4/30/08 8:05 AM.
Thank you, Ray Augé, Nautilus is better than davfs.

By the way, now I tell everyone how to type French special characters in US keyboard at GNOME environment.

System -> Preferences -> Keyboard -> Layout Options -> Compose Key (I use my left WINDOWS key)

Then I can type é by typing Windows key+' and e.

Reference: http://ubuntuforums.org/archive/index.php/t-329656.html
Posted on 5/1/08 6:16 AM in reply to Ray Augé.