Skip to content

Commit

Permalink
Many improvements and additions
Browse files Browse the repository at this point in the history
  • Loading branch information
hevp committed Oct 25, 2018
1 parent 63eb509 commit 16a04ff
Show file tree
Hide file tree
Showing 5 changed files with 252 additions and 133 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A simple and compact WebDAV client written in Python 3.
- Various packages, including `requests`

### Configuration
You need a configuration file in JSON format with the following elements:
You need a configuration file in JSON format in order to allow the client to contact your WebDAV server. It must contain the following elements:

```
{
Expand All @@ -25,6 +25,8 @@ You need a configuration file in JSON format with the following elements:

You can find the endpoint and credentials in the settings of your WebDAV installation, e.g. OwnCloud or NextCloud.

A stub configuration file is provided as `credentials.stub.json`. Copy it and fill in your values.

### How to run
General syntax:

Expand Down
1 change: 1 addition & 0 deletions common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# default values for options
defaults = {
"api": "webdav.json",
"credentials": "credentials.json",
"printf": "{date} {size:r} {path}"
}
Expand Down
Loading

0 comments on commit 16a04ff

Please sign in to comment.