所有的 WebDAV 客户端实现都可以分为三类—独立的应用程序, 文件浏览器 扩展和文件系统实现. 这三种类型基本上规定了用户可享受到的 WebDAV 功能 类型. 表 C.1 “常见的 WebDAV 客户端软件” 给出几种 WebDAV 客户 端软件的分类, 以及简短的介绍. 读者可以在下面的章节里看到关于这些软件更 详细的信息.
表 C.1. 常见的 WebDAV 客户端软件
软件 | 类型 | Windows | Mac | Linux | 描述 |
---|---|---|---|---|---|
Adobe Photoshop | 独立的 WebDAV 应用程序 | X | 图片编辑软件, 支持直接读写由 WebDAV URL 指定的文件 | ||
cadaver | 独立的 WebDAV 应用程序 | X | X | 命令行 WebDAV 客户端, 支持文件浏览和加锁, 解锁 | |
DAV Explorer | 独立的 WebDAV 应用程序 | X | X | X | Java GUI 工具, 用于浏览 WebDAV 共享目录 |
Adobe Dreamweaver | 独立的 WebDAV 应用程序 | X | Web 开发软件, 支持直接读写由 WebDAV URL 指定的文件 | ||
Microsoft Office | 独立的 WebDAV 应用程序 | X | 办公套件, 其中的几个组件支持直接读写由 WebDAV URL 指定的 文件 | ||
Microsoft Web Folders | 文件浏览器 WebDAV 扩展 | X | GUI 文件浏览器程序, 支持在 WebDAV 共享目录上执行目录树 操作 | ||
GNOME Nautilus | 文件浏览器 WebDAV 扩展 | X | GUI 文件浏览器程序, 支持在 WebDAV 共享目录上执行目录树 操作 | ||
KDE Konqueror | 文件浏览器 WebDAV 扩展 | X | GUI 文件浏览器程序, 支持在 WebDAV 共享目录上执行目录树 操作 | ||
Mac OS X | WebDAV 文件系统实现 | X | 支持挂载 WebDAV 共享目录的操作系统. | ||
Novell NetDrive | WebDAV 文件系统实现 | X | 驱动器映射程序, 用来给挂载的远程 WebDAV 共享目录分配 Windows 驱动器盘符 | ||
SRT WebDrive | WebDAV 文件系统实现 | X | 文件传输软件, 另外它还可以用来为挂载的远程 WebDAV 共享 目录分配 Windows 驱动器盘符 | ||
davfs2 | WebDAV 文件系统实现 | X | Linux 文件系统驱动程序, 支持挂载 WebDAV 共享目录 |
一个 WebDAV 应用程序是一个可使用 WebDAV 协议与 WebDAV 服务器进行 通信的程序. 下面我们将介绍最常见的几种 WebDAV 应用程序.
在 Windows 平台上, 有几款非常知名的应用程序已经集成了 WebDAV 的客户端功能, 例如 Microsoft Office,[78] Adobe Photoshop 和 Dreamweaver. 它们都支持直接读写由 WebDAV URL 指定的 文件, 而且在编辑文件时, 它们都倾向于大量使用 WebDAV 锁.
– an easy to use source control software for Microsoft Windows and possibly the best standalone Apache Subversion client there is. It is implemented as a Windows shell extension, which makes it integrate seamlessly with explorer. – SVN client for MAC OS X – Versions offers the simplest Subversion on the Mac. In their own words.
- RabbitVCS is the best SVN client inspired by TortoiseSVN for Linux which makes it easy to work with subversion with graphical user interface. It integrates with Nautilus as well as Thunar file managers and for now it supports Subversion and Git source control systems.
- We provide a standalone command-line Subversion client for Windows. The installer contains all command line tools (svn, svnadmin, svnsync, svnserve, svnmucc) but no application bindings nor Apache modules. The tools are fully side-by-side compatible with other packages.
Note that while many of these programs also exist for Mac OS X, they do not appear to support WebDAV directly on that platform. In fact, on Mac OS X, the File→Open dialog box doesn't allow one to type a path or URL at all. It's likely that the WebDAV features were deliberately left out of Macintosh versions of these programs, since OS X already provides such excellent low-level filesystem support for WebDAV.
cadaver is a bare-bones Unix command-line program for browsing and changing WebDAV shares. It uses the neon HTTP library—not surprisingly, since both neon and cadaver are written by the same author. cadaver is free software (GPL license) and is available at http://www.webdav.org/cadaver/.
Using cadaver is similar to using a command-line FTP program, and thus it's extremely useful for basic WebDAV debugging. It can be used to upload or download files in a pinch, to examine properties, and to copy, move, lock, or unlock files:
DAV Explorer is another standalone WebDAV client, written in Java. It's under a free Apache-like license and is available at http://www.ics.uci.edu/~webdav/. It does everything cadaver does, but has the advantages of being portable and being a more user-friendly GUI application. It's also one of the first clients to support the new WebDAV Access Control Protocol (RFC 3744).
Of course, DAV Explorer's ACL support is useless in this case, since mod_dav_svn Lorex client for mac. doesn't support it. The fact that both cadaver and DAV Explorer support some limited DeltaV commands isn't particularly useful either, since they don't allow
MKACTIVITY
requests. But it's not relevant anyway; we're assuming all of these clients are operating against an autoversioning repository.Some popular file explorer GUI programs support WebDAV extensions that allow a user to browse a DAV share as though it was just another directory on the local computer, and to perform basic tree editing operations on the items in that share. For example, Windows Explorer is able to browse a WebDAV server as a “network place.” Users can drag files to and from the desktop, or can rename, copy, or delete files in the usual way. But because it's only a feature of the file explorer, the DAV share isn't visible to ordinary applications. All DAV interaction must happen through the explorer interface.
Microsoft was one of the original backers of the WebDAV specification, and first started shipping a client in Windows 98, which was known as Web Folders. This client was also shipped in Windows NT 4.0 and Windows 2000.
The original Web Folders client was an extension to Explorer, the main GUI program used to browse filesystems. It works well enough. In Windows 98, the feature might need to be explicitly installed if Web Folders aren't already visible inside My Computer. In Windows 2000, simply add a new “network place,” enter the URL, and the WebDAV share will pop up for browsing.
With the release of Windows XP, Microsoft started shipping a new implementation of Web Folders, known as the WebDAV Mini-Redirector. The new implementation is a filesystem-level client, allowing WebDAV shares to be mounted as drive letters. Unfortunately, this implementation is incredibly buggy. The client usually tries to convert HTTP URLs (
http://host/repos
) into UNC share notation (hostrepos
); it also often tries to use Windows Domain authentication to respond to basic-auth HTTP challenges, sending usernames as HOSTusername
. These interoperability problems are severe and are documented in numerous places around the Web, to the frustration of many users. Even Greg Stein, the original author of Apache's WebDAV module, bluntly states that XP Web Folders simply can't operate against an Apache server.Windows Vista's initial implementation of Web Folders seems to be almost the same as XP's, so it has the same sort of problems. With luck, Microsoft will remedy these issues in a Vista Service Pack.
However, there seem to be workarounds for both XP and Vista that allow Web Folders to work against Apache. Users have mostly reported success with these techniques, so we'll relay them here.
On Windows XP, you have two options. First, search Microsoft's web site for update KB907306, “Software Update for Web Folders.” This may fix all your problems. If it doesn't, it seems that the original pre-XP Web Folders implementation is still buried within the system. You can unearth it by going to Network Places and adding a new network place. When prompted, enter the URL of the repository, but include a port number in the URL. For example, you should enter
http://host/repos
as http://host:80/repos
instead. Respond to any authentication prompts with your Subversion credentials.On Windows Vista, the same KB907306 update may clear everything up. But there may still be other issues. Some users have reported that Vista considers all
http://
connections insecure, and thus will always fail any authentication challenges from Apache unless the connection happens over https://
. If you're unable to connect to the Subversion repository via SSL, you can tweak the system registry to turn off this behavior. Just change the value of the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWebClientParametersBasicAuthLevel
key from 1
to 2
. A final warning: be sure to set up the Web Folder to point to the repository's root directory (/
), rather than some subdirectory such as /trunk
. Vista Web Folders seems to work only against repository roots.In general, while these workarounds may function for you, you might get a better overall experience using a third-party WebDAV client such as WebDrive or NetDrive.
Nautilus is the official file manager/browser for the GNOME desktop (http://www.gnome.org), and Konqueror is the manager/browser for the KDE desktop (http://www.kde.org). Both of these applications have an explorer-level WebDAV client built in, and they operate just fine against an autoversioning repository.
In GNOME's Nautilus, select the File→Open location menu item and enter the URL in the dialog box presented. The repository should then be displayed like any other filesystem.
In KDE's Konqueror, you need to use the
webdav://
scheme when entering the URL in the location bar. If you enter an http://
URL, Konqueror will behave like an ordinary web browser. You'll likely see the generic HTML directory listing produced by mod_dav_svn. When you enter webdav://host/repos
instead of http://host/repos
, Konqueror becomes a WebDAV client and displays the repository as a filesystem.The WebDAV filesystem implementation is arguably the best sort of WebDAV client. It's implemented as a low-level filesystem module, typically within the operating system's kernel. This means that the DAV share is mounted like any other network filesystem, similar to mounting an NFS share on Unix or attaching an SMB share as a drive letter in Windows. As a result, this sort of client provides completely transparent read/write WebDAV access to all programs. Applications aren't even aware that WebDAV requests are happening.
Both WebDrive and NetDrive are excellent commercial products that allow a WebDAV share to be attached as drive letters in Windows. As a result, you can operate on the contents of these WebDAV-backed pseudodrives as easily as you can against real local hard drives, and in the same ways. You can purchase WebDrive from South River Technologies (http://www.southrivertech.com). Novell's NetDrive is freely available online, but requires users to have a NetWare license.
Apple's OS X operating system has an integrated filesystem-level WebDAV client. From the Finder, select the Go→Connect to Server menu item. Enter a WebDAV URL, and it appears as a disk on the desktop, just like any other mounted volume. You can also mount a WebDAV share from the Darwin terminal by using the
webdav
filesystem type with the mount command:Note that if your mod_dav_svn is older than version 1.2, OS X will refuse to mount the share as read/write; it will appear as read-only. This is because OS X insists on locking support for read/write shares, and the ability to lock files first appeared in Subversion 1.2.
Also, OS X's WebDAV client can sometimes be overly sensitive to HTTP redirects. If OS X is unable to mount the repository at all, you may need to enable the
BrowserMatch
directive in the Apache server's httpd.conf
:Linux davfs2 is a filesystem module for the Linux kernel, whose development is organized at http://dav.sourceforge.net/. Once you install davfs2, you can mount a WebDAV network share using the usual Linux mount command:
[78] 由于某种 原因, Microsoft Access 移除了对 WebDAV 的支持, 但 Office 套件内的其他程序仍然支持 WebDAV.
Active8 years, 10 months ago
Tortoise SVN on Windows allows a single user without a network connection to create a repository on the user's machine to check code into, without needing any separate server installation or configuration. This is very useful for lone developers. Is there an SVN client for Mac OS X with this feature? Sonicwall client for mac.
LiamLiam10.6k2020 gold badges7474 silver badges102102 bronze badges
7 Answers
Evan MeagherEvan Meagher
Besides just using the command line, the short list of graphical clients (just off the top of my head) for Mac OS X are:
![Mac Mac](/uploads/1/2/6/3/126385418/696135259.png)
Versions
svnX
Cornerstone
SCP plugin
svnX
Cornerstone
SCP plugin
and don't forget that Xcode can natively interface with both CVS and subversion without needing external tools.
PeterPeter![Standalone Svn Client For Mac Standalone Svn Client For Mac](/uploads/1/2/6/3/126385418/338022238.jpg)
8,21011 gold badge2323 silver badges2424 bronze badges
scplugin is a Finder plugin for OS X that works similarly to TortoiseSVN on Windows in terms of user interface. Lost client hack not work for mac mc.
To create a local repository on a Mac, you can follow these instructions, which require a bit of command line wrangling:
Smart Svn Client
RafeRafe
Mac Os Svn Client
The regular
Greg HewgillGreg Hewgillsvn
command line client can do this. Are you looking perhaps for something graphical?708k155155 gold badges10381038 silver badges11831183 bronze badges
I think you are looking for something along the lines of Cornerstone. There are a couple of great Mac OS X subversion tools, but this one in particular will allow you to create a local repository on your own computer through the GUI.
From their website:
Blockchain client for mac. In fact, Cornerstone includes not just Subversion client functionality, but also the administrative tools. As a result you can create and delete repositories without having to use the command-line.
sixthgearsixthgear5,38022 gold badges1717 silver badges1717 bronze badges
Free Svn Client For Mac
I've been recently looking for a good free SVN client for Mac and finally I develop with xCode and I'm using eclipse with SVN plugin and it works great. If you are familiar with eclipse it's a very good option to have in mind.
jLuengasjLuengas
You could use Versions or Syncro (both not free).. or just command line svn/svnadmin. You may also look at distributed VCS Mercurial and clients like Murky. They provide working only locally, too - and it's easier to migrate DVCS to centralized usage (i.e. if your team grows..)
bb.bb.1,29511 gold badge1313 silver badges1919 bronze badges