How to Upload Files to WebDAV with CLI

What you’ll need

  • An account with a hosting service that provides WebDAV access.
  • Connection information:
    • host address
    • host port
    • user
    • password

Connecting to WebDAV

Use the webdav protocol:

    From the prompt enter the connect command:

      fzcli> connect webdav://<user>:<password>@<host>:<port><path>

    Optionally you can use the parameters of the connect command:

      fzcli> connect --protocol webdav --user<user>
      --pass <password> --path <path> <host>:<port>

      Note that the path is optional but if present it has to start with a slash.

    You can now transfer files between your local machine and your WebDAV provider.

Tags: , , ,