Path: redb-route/redb.Route.Sftp/SftpHeaders.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Sftp/SftpHeaders.cs ---- namespace redb.Route.Sftp; /// /// Constants for exchange headers set by the SFTP component. /// All prefixed with "redbSftp." to avoid collisions with other components. /// public static class SftpHeaders { /// Common prefix for all SFTP component headers. public const string Prefix = "redbSftp."; // ── Headers set on the In message by the consumer ──────────────── /// Full file name with extension (e.g. "report.csv"). public const string FileName = "redbSftp.Name"; /// File name without the extension (e.g. "report"). public const string FileNameOnly = "redbSftp.NameOnly"; /// File extension including the dot (e.g. ".csv"). public const string FileExtension = "redbSftp.Extension"; /// Full remote path on the SFTP server (e.g. "/upload/report.csv"). public const string RemotePath = "redbSftp.RemotePath"; /// Path relative to the polling base directory. public const string RelativePath = "redbSftp.RelativePath"; /// Parent directory on the remote server. public const string RemoteParent = "redbSftp.RemoteParent"; /// File size in bytes. public const string FileLength = "redbSftp.Length"; /// Last modified date/time as DateTimeOffset (UTC). public const string FileLastModified = "redbSftp.LastModified"; /// File permissions (octal string, e.g. "0644"). public const string FilePermissions = "redbSftp.Permissions"; /// File owner UID. public const string FileOwner = "redbSftp.Owner"; /// File group GID. public const string FileGroup = "redbSftp.Group"; /// SFTP server host that the file was retrieved from. public const string Host = "redbSftp.Host"; /// SFTP server port. public const string Port = "redbSftp.Port"; /// Username used for the SFTP connection. public const string Username = "redbSftp.Username"; // ── Headers set by the producer after uploading ────────────────── /// Full remote path of the file that was actually written by the producer. public const string FileNameProduced = "redbSftp.NameProduced"; }