Created
December 1, 2014 16:49
-
-
Save zopyx/bfec3e73637afad525e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fs.contrib.davfs import DAVFS | |
handle = DAVFS('http://host:6080/exist/webdav/db', credentials=dict(username='admin', password='admin')) | |
for i in range(100000): | |
print i | |
fp = handle.open('d1/{}.xml'.format(i), 'wb') | |
fp.write('<xml>hello world</xml>') | |
fp.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment