webdav

What are your experiences implementing/using WebDAV?

北城以北 提交于 2019-12-03 07:54:02
问题 For a current project, I was thinking of implementing WebDAV to present a virtual file store that clients can access. I have only done Google research so far but it looks like I can get away with only implementing two methods: GET, PROPFIND I think that this is great. I was just curious though. If I wanted to implement file uploading via: PUT I haven't implemented it, but it seems simple enough. My only concern is whether a progress meter will be displayed for the user if they are using

How can I connect to owncloud with python using easywebdav?

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to connect to a owncloud instance with python. I've found easywebdav that should make it easy to connect via webdav, but when trying to connect I'm getting "404 Not Found" import easywebdav webdav = easywebdav.connect('test.org/owncloud/remote.php/webdav/', username='user', password='pass', protocol='https', port=443, verify_ssl=False) print webdav.ls(".") I would expect a list of files found on my owncloud instance, but I'm getting python ./test.py Traceback (most recent call last): File "./test.py", line 8, in <module> print

What is the cause of “svn: E195019: Redirect cycle detected for URL”?

那年仲夏 提交于 2019-12-03 02:34:39
Trying to checkout from my SVN repo gives me svn: E195019: Redirect cycle detected for URL ... However, it appears as if this error only occurs when I am behind some (specific) proxy server. As discussed in other post (see tortoise svn giving me "Redirect cycle detected for URL 'domain/svn'" ), this error occurs if the SVN DAV is misconfigured, e.g., using SVNParentPath where one should use SVNPath. However, my configuration appears to be correct and - as far as I know - the problem only occurs when behind a proxy. The setup of the repository is more or less standard, e.g., ServerAlias svn

How to make Subversion use Linux system accounts for authentication?

别说谁变了你拦得住时间么 提交于 2019-12-02 23:45:42
I've set up a Ubuntu Server for Subversion with Apache/WebDAV interface to share repositories with other developers. My question is, how can I make Subversion use the linux system accounts for authentication? This would lead to very easy Subversion account management. Subversion with Apache/WebDAV is currently working with this configuration: Contents of /etc/apache2/mods-available/dav_svn.conf: <Location /svn> DAV svn SVNParentPath /home/svn SVNListParentPath On AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/apache2/dav_svn.passwd Require valid-user </Location> I have tried

What are your experiences implementing/using WebDAV?

送分小仙女□ 提交于 2019-12-02 21:19:30
For a current project, I was thinking of implementing WebDAV to present a virtual file store that clients can access. I have only done Google research so far but it looks like I can get away with only implementing two methods: GET, PROPFIND I think that this is great. I was just curious though. If I wanted to implement file uploading via: PUT I haven't implemented it, but it seems simple enough. My only concern is whether a progress meter will be displayed for the user if they are using standard Vista Explorer or OSX Finder. I guess I'm looking for some stories from people experienced with

我的浏览器标签同步方案:坚果云+Floccus

末鹿安然 提交于 2019-12-02 18:58:48
前言 floccus github地址: https://github.com/marcelklehr/floccus Floccus插件是一款浏览器书签收藏同步插件,支持Chrome和Firefox浏览器,用户可以通过Nextcloud,WebDAV或本地文件快速同步书签,便捷浏览。 XBEL 地址: http://xbel.sourceforge.net/ The XML Bookmark Exchange Language, or XBEL, is an Internet "bookmarks" interchange format. It was originally designed by the Python XML Special Interest Group on the group's mailing list. XBEL 文件可以通过文本编辑器进行编辑 我选择的是使用 坚果云 的 WebDAV + Floccus 方案; Nextcloud 可自建私有云,因我自己没有服务器,故放弃。 浏览器安装相关扩展介绍 Chrome扩展安装说明 离线安装的步骤 : Chrome 扩展我是用 floccus的 releases 下载 后缀未 crx 的 文件,然后在本地 通过 7-zip 直接解压 Chrome 扩展安装: 在地址栏输入 chrome://extensions

Sample code for WebDAV PROPFIND

本小妞迷上赌 提交于 2019-12-02 17:51:48
问题 Is there any site or some one can provide me a sample PROFIND request please. I tried the PROFIND code sample from MSDN but getting 400 Bad request. Unable to understand why this is happening. Previously posted the question at Getting 400 Bad request from WebDav Server Any suggestions will be greatly helpfull. Edit @Julian, Have updated my request body to the following: strBody = "<?xml version='1.0' encoding='utf-8'?>" + "<propfind xmlns='DAV:'>" + "<allprop/>" + "</propfind>"; as explained

Which file access is the best : Webdav or FTP? [closed]

微笑、不失礼 提交于 2019-12-02 16:20:45
I have to develop a Java application that has to read some files on the network, edit them and put them back. The problem is that I always did (over the network) file operations through the FTP protocol. But, I recently heard about Webdav which is HTTP based. Did anyone notice a difference (in terms of speed) between them ? Which one is the best ? Why did they "invent" Webdav if the FTP is good for that? Eugene Mayevski 'Allied Bits WebDAV has the following advantages over FTP: By working via one TCP connection it's easier to configure it to bypass firewalls, NATs and proxies. In FTP the data

IIS搭建文件型服务器

牧云@^-^@ 提交于 2019-12-02 09:21:14
1、首先打开Internet信息服务(IIS)管理器,选择新建网站,如果没有Internet信息服务(IIS)管理器,可以在控制面板添加,按照 控制面板\程序\程序和功能,点击 打开或关闭Windows功能,添加 Internet信息,全部勾选,点击 确定,等待安装完成,之后再打开就有Internet信息服务,操作如下 2、添加网站,选择 网站,右键 添加网站,弹出添加网站窗体,填写网站信息 如:测试http网站部署文件服务器 3、切换到 功能视图,双击 目录浏览 ,右侧区域,点击 启用。 4、同样 切换到 功能视图,双击 WebDAV创作规则,右侧区域 选择 添加创作规则 选择 所有用户,权限下的读取,源,写入全部勾选,点击确定。 选择 右侧区域 WebDAV设置,设置请求筛选行为和属性行为,点击 右侧 应用 在选择网站测试http网站部署文件服务器,点击功能视图,右侧区域 点击 启用WebDAV 5、同样 切换到功视图,双击 身份验证,启用 匿名身份验证和Windows身份验证 6、选择网站 测试http网站部署文件服务器,右键 管理网站 浏览 ,浏览器显示web.config文件,如下图,即使成功。 7、添加用户和设置网站物理路径D:\TestHttpDeployFileServer下的文件夹的访问权限TestHttpDeployFileServer 添加用户:选择桌面上的

How to edit the modified date of a folder/file?

倖福魔咒の 提交于 2019-12-02 05:17:25
问题 I am creating folders in SP using webdav with HttpWebRequest, MKCOL method. And I upload files using WebClient. For both uploaded files and created folders, how can I set their modified date? I am looking for something similar to Directory.SetLastWriteTime , File.SetLastWriteTime 回答1: You can use following code for that //Change the file created time. File.SetCreationTime(path, dtCreation); //Change the file modified time. File.SetLastWriteTime(path, dtModified); 回答2: string path = @"c: