Python

webadv上傳檔案


程式碼

import os
import sys
import argparse
import easywebadv

wc = easywebadv.connect('xxx.xxx.xxx.xxx', username='xxx', password='xxx', path='xxx', protocol='https', port=4343, verify_ssl=False)
print wc.ls()
wc.upload(src_path, dst_path)


返回上一頁