Skip to content

Latest commit

 

History

History
29 lines (29 loc) · 810 Bytes

README.md

File metadata and controls

29 lines (29 loc) · 810 Bytes

Upload file with WebDAV

1. Start a locol WebDAV server


Pull docker image

docker pull morrisjobke/webdav

If you haven't install docker, please see docker The docker repository: morrisjobke/webdav/

Open browser to make sure the WebDAV server is started

http://localhost:8888/webdav

2. Try to upload a file to the server


Install the package

pip install -r requirements.txt

Modify the file path in code

# Modify the path to what you want to upload
remote_path = "file1"
local_path = "/Users/ipython/Desktop/file1"

Run the command

python webdav.py


3. See the result

browser.png