save_ftp
Saves a byte stream via FTP.
save_ftp url:str [tls=bool, cacert=string, certifle=string, keyfile=string, skip_peer_verification=bool]
Description
Section titled “Description”Saves a byte stream via FTP.
url: str
Section titled “url: str”The URL to request from. The ftp://
scheme can be omitted.
tls = bool (optional)
Section titled “tls = bool (optional)”Enables TLS.
Defaults totrue
.
cacert = string (optional)
Section titled “cacert = string (optional)”Path to the CA certificate used to verify the server’s certificate.
Defaults to the Tenzir configuration value tenzir.cacert
, which in turn
defaults to a common cacert location for the system.
certfile = string (optional)
Section titled “certfile = string (optional)”Path to the client certificate.
keyfile = string (optional)
Section titled “keyfile = string (optional)”Path to the key for the client certificate.
skip_peer_verification = bool (optional)
Section titled “skip_peer_verification = bool (optional)”Toggles TLS certificate verification.
Defaults to false
.
Examples
Section titled “Examples”save_ftp "ftp.example.org"