Skip to main content
Version: Next

FTP

Tenzir supports the File Transfer Protocol (FTP), both downloading and uploading files.

FTP consists of two separate TCP connections, one control and one data connection. This can be tricky for some firewalls and may require special attention.

URL Support

The URL schemes ftp:// and ftps:// dispatch to load_ftp and save_ftp for seamless URL-style use via from and to.

Examples

Download a file from an FTP server

from "ftp://user:pass@ftp.example.org/path/to/file.json"

Upload events to an FTP server

from {
  x: 42,
  y: "foo",
}
to "ftp://user:pass@ftp.example.org/a/b/c/events.json.gz"