Pure functions for the FTPS file source: file selection, which failures to retry and error values. No I/O.
Pure functions for the FTPS file source: file selection, which failures to retry and error values. No I/O.
(ftps-error {:keys [host operation attempts cause reply-code]})The :error map of a failed operation, naming host, attempts and cause.
The :error map of a failed operation, naming host, attempts and cause.
(remote-path dir file-name)Join a directory and a file name with exactly one slash.
Join a directory and a file name with exactly one slash.
(retryable? {:keys [reply-code certificate?]})Whether a failed attempt is worth repeating. A 5xx reply (rejected credentials, missing file) and an untrusted certificate are permanent; a 4xx reply and an I/O failure without a reply (DNS, refused connection, TLS handshake or read timeout) are transient.
Args: failure - {:reply-code int-or-nil, :certificate? boolean}
Whether a failed attempt is worth repeating. A 5xx reply (rejected
credentials, missing file) and an untrusted certificate are permanent; a 4xx
reply and an I/O failure without a reply (DNS, refused connection, TLS
handshake or read timeout) are transient.
Args:
failure - {:reply-code int-or-nil, :certificate? boolean}(select-files files {:keys [match skip]})Files whose :name matches :match and is not in :skip, sorted by name.
Args: files - seq of RemoteFile maps opts - {:match string|regex|coll, :skip coll of names already processed}
Files whose :name matches :match and is not in :skip, sorted by name.
Args:
files - seq of RemoteFile maps
opts - {:match string|regex|coll, :skip coll of names already processed}cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |