EasyWebDAV

1.0.7 ISC License (ISCL)    
  UNRATED

  149 downloads

A WebDAV Client in Python

description

download

specs

EasyWebDAV is a straight-forward WebDAV client, implemented using Requests.

Installation

Install using distribute:

easy_install easywebdav

Quick Start

import easywebdav
# Start off by creating a client object. Username and
# password may be omitted if no authentication is needed.
webdav = easywebdav.connect('webdav.your-domain.com', username='myuser', password='mypass')
# Do some stuff:
webdav.mkdir('some_dir')
webdav.rmdir('another_dir')
webdav.download('remote/path/to/file', 'local/target/file')
webdav.upload('local/path/to/file', 'remote/target/file')

Client object API

The API is pretty much self-explanatory:

cd(path)
mkdir(path, safe=False)
mkdirs(path)
rmdir(path, safe=False)
delete(file_path)
upload(local_path, remote_path)
download(remote_path, local_path)
read more   
Last updated on August 29th, 2012

#WebDAV client #WebDAV interface #Python #WebDAV #client #Requests

0 User reviews so far.

SUBMIT