Cyberduck Mountain Duck CLI

Changes between Version 103 and Version 104 of help/en/howto/cli


Ignore:
Timestamp:
Feb 7, 2019 4:28:04 PM (6 weeks ago)
Author:
dkocher
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • help/en/howto/cli

    v103 v104  
    142142The `<url>` argument for `--copy`, `--download`, `--upload`  and `--synchronize` must satisfy following rules:
    143143* Each URL must start with a scheme and a colon (`https:`) (unless you specify a `--profile`)
    144 * depending on the type of protocol you are referencing different rules apply
    145   * For all Protocols where no default hostname is set (e.g. `WebDAV`,  `SFTP`, and `FTPS`) you must use a fully qualified URI
     144* Depending on the type of protocol you are referencing different rules apply
     145  * For all protocols where no default hostname is set (e.g. `WebDAV`,  `SFTP`, and `FTPS`) you must use a fully qualified URI
    146146  `https://user@hostname/path`
    147   * For all Protocols where a default hostname is set, but you are allowed to change it (e.g. `S3`) you may use fully qualified URIs or \\
    148    Absolute Paths: `s3:/bucket/path` \\
    149    Relative Paths: `s3:user@path` or `s3:user@/path`. Omiting the first slash in a relative path uses the default home directory for this protocol.
    150   * For all Protocols where a default hostname is set and you are not allowed to change it (e.g. `OneDrive`, `Dropbox`, `Google Drive`) you may use any combination of the above with the following rules: \\
     147  * For all protocols where a default hostname is set, but you are allowed to change it (e.g. `S3`) you may use fully qualified URIs or \\
     148   ''Absolute paths'': `s3:/bucket/path` \\
     149   ''Relative paths'': `s3:user@path` or `s3:user@/path`. Omiting the first slash in a relative path uses the default home directory for this protocol.
     150  * For all protocols where a default hostname is set and you are not allowed to change it (e.g. `OneDrive`, `Dropbox`, `Google Drive`) you may use any combination of the above with the following rules: \\
    151151  Fully Qualified URIs are parsed as relative paths. `onedrive://Some/Folder/` is parsed as `onedrive:Some/Folder`.
    152 * For all Protocols where a default path is set and you are not allowed to change it (e.g. accessing a prebuilt `NextCloud` profile with a path set to `/remote.php/webdav`) \\
    153   You are allowed to change the path but it will be appended to the default path. Making `nextcloud:/path` really `nextcloud:/remote.php/webdav/path`.
    154 
    155 **New in 6.9**: Spaces and other special-characters are not required to be percent-encoded (e.g. `%20` for space) as long as the path is quoted `duck --upload "scheme://hostname/path with/spaces" "/Path/To/Local/File With/Spaces"`).
    156 
    157 ||= Protocol =||= Fully Qualified URI required =||= Absolute Path =||= Relative Path =||
     152* For all protocols where a default path is set and you are not allowed to change it (e.g. accessing a prebuilt `NextCloud` profile with a path set to `/remote.php/webdav`). You are allowed to change the path but it will be appended to the default path. Making `nextcloud:/path` really `nextcloud:/remote.php/webdav/path`.
     153
     154**Version [milestone:6.0.0 6.9] or later**: Spaces and other special-characters are not required to be percent-encoded (e.g. `%20` for space) as long as the path is quoted `duck --upload "scheme://hostname/path with/spaces" "/Path/To/Local/File With/Spaces"`).
     155
     156||= '''Protocol''' =||= Fully Qualified URI required =||= Absolute Path =||= Relative Path =||
    158157|| Windows Azure Storage || No || `azure:/<container>/<key>` || `azure:<container>/<key>` ||
    159158|| Backblaze B2 Cloud Storage || No || `b2:/<container>/<key>` || `b2:<container>/<key>` ||
swiss made software