Documentation

Learn how to architect your data pipeline in minutes.

SFTP Source

The SFTP source provides a modern, secure SSH-based interface for file ingestion. It is the recommended protocol for most modern automated workflows and secure transfers.

Why SFTP?

Single Port Architecture

Unlike traditional FTP which requires a range of dynamic ports, SFTP uses exactly one port (2222) for both commands and data. This makes it extremely firewall-friendly.

Native Encryption

Built on the SSH (Secure Shell) protocol, SFTP provides robust encryption for both credentials and data by default.

Protocol Details

FeatureDetails
StandardSSH File Transfer Protocol (SFTP)
Port2222
SecurityHigh (Native SSH)
Firewall StatusEasy (Single port whitelist)

Authentication

Authentication is handled via Senders. You create a Sender (user, camera, etc.) once and assign it to one or more Pipes.

Login Formats

  • Scoped Login: username@pipe_short_id
    Use this to explicitly select which Pipe to upload to if a Sender has access to multiple pipes.
  • Port: 2222

Supported Operations

Rilavek's SFTP gateway supports comprehensive file management operations, making it behave like a real filesystem:

OperationStatusDescription
Upload FileSupportedStream files directly to your S3 destination
Create DirectorySupportedCreate folders/prefixes in your storage
Remove DirectorySupportedDelete empty directories
Delete FileSupportedRemove files from storage
Rename / MoveSupportedRename or move files within storage
List DirectorySupportedBrowse files and folders
File StatSupportedGet file size, type, and modification time
Download FileNot SupportedIngestion gateway only (upload-only by design)

Note: Downloads are intentionally disabled. Rilavek is designed as a secure ingestion gateway, not a general-purpose file server. This prevents data exfiltration through the SFTP endpoint.

Getting Started

$ sftp -P 2222 camera_01@[email protected]

Note: Most modern software (Cyberduck, WinSCP, FileZilla) supports SFTP natively. Ensure you choose "SFTP" as the protocol and port 2222.