You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
579 B

from webdav3.client import Client
options = {
#'webdav_login': 'gia',
#'webdav_password': 'gia0000!',
'webdav_token': '2WmQL-G7Jbg-6t7sN-JBRSe-eBGy5',
'webdav_hostname': ''
#'webdav_hostname': '',
#'webdav_root': '/remote.php/dav/files/'
client = Client(options)
def get_file_list():
return client.list("/GIA CLOUD")
for file in get_file_list():
link = client.get_url(file)
info ="/GIA CLOUD")