Dvc: WebDav: new remote type

Created on 22 Sep 2018  路  16Comments  路  Source: iterative/dvc

WebDav is a quite common protocol for file sharing.

It is especially convenient because box.com provides 10Gb free and supports WebDav.

feature request good first issue hacktoberfest help wanted p3-nice-to-have

Most helpful comment

WebDAV support would also enable the use of private file-hosting solutions, like Nextcloud, Owncloud, and others.

All 16 comments

I'd like to work on this. Could you give someone directions where to look in the code for similar functionality and correct place to implement this one.

@jurasan, in dvc/remote/ directory you can find code examples for S3, Azure and other remotes. WebDav should be just another remote for DVC.

Which branch should I work on?

@jurasan On master. Work on your dvc fork and send a PR when you are ready. Also please feel free to ping us if you need anything.

@jurasan, in addition to @efiop response, we have a contributing guide that may help you with your PR: https://dvc.org/doc/user-guide/contributing/

I'm now looking for a good python webdav library supporting python 2.7.
I found this one, though it's not maintained for the last 2 years.
https://github.com/CloudPolis/webdav-client-python

Does anyone have experience with this or can hint any other library.

@jurasan Unfortunately I don't have much experience with WebDav 馃檨 I'm sure you've already considered it, but https://pypi.org/project/fs.webdavfs/ looks a bit more promising, supports 2.7 and looks somewhat maintained as a part of https://github.com/PyFilesystem/pyfilesystem2 .

Thanks. I actually managed to miss it somehow. Generally it seems, that WebDav is dying slowly and we're lucky to at least have those.

@jurasan I agree. Do you plan on using webdav driver yourself(if so, with which storage provider?), or are you working on a patch for fun?

We have our internal company cloud that uses WebDav

Ah, I see. Please don't hesitate to ping us if you need any help.

This is still of interest, as I've got a project that is pushing to use Citrix ShareFile, which supports WebDav. Is WebDav support still actively being worked on?

@garylschultz Our core team is not working on this (at least yet). But @jurasan seems to have been working on his patch, I'm not sure what state it is in though :slightly_frowning_face: @jurasan Maybe you need some help? Also, maybe @garylschultz will be willing to help out too :slightly_smiling_face:

WebDAV support would also enable the use of private file-hosting solutions, like Nextcloud, Owncloud, and others.

Hi,
I try to create the remote - webdav and saw interesting thing. She different from remote http only one string - upload need method PUT

Example in PR

But that need change base - schema change to http.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

siddygups picture siddygups  路  3Comments

tc-ying picture tc-ying  路  3Comments

ghost picture ghost  路  3Comments

prihoda picture prihoda  路  3Comments

shcheklein picture shcheklein  路  3Comments