LightFile NextLightFile Next

WebDAV

WebDAVサーバー上のファイルを最適化

HTTP/HTTPSベースのWebDAVプロトコルを使用します。NextCloud、ownCloud等のクラウドストレージで使用できます。

基本的な使い方

WebDAVのベースURLとユーザー認証情報を指定して接続します。NextCloudの場合、URLは /remote.php/dav/files/ユーザー名/ の形式になります。

コマンドライン:

lightfile-batch webdav \
  --webdav-url https://nextcloud.example.com/remote.php/dav/files/username/ \
  --webdav-user myuser \
  --webdav-password mypassword \
  --webdav-dir Photos

YAML設定ファイル:

webdav:
  url: https://nextcloud.example.com/remote.php/dav/files/username/
  user: myuser
  password: mypassword
  dir: Photos