Skip to main content

Module sftp_client

Module sftp_client 

Source

Structs§

FileEntry
A single file/directory entry returned from directory listings. Used by both local and remote (SFTP/FTP) file operations.
SftpConfig
Configuration for a standalone SFTP connection (SSH transport, no PTY).
StandaloneSftpClient
Standalone SFTP client — opens an SSH connection and SFTP subsystem channel without allocating a PTY.

Enums§

FileEntryType
SftpAuthMethod

Functions§

format_unix_timestamp
Convert a Unix timestamp (seconds since epoch) to a readable UTC datetime string (“YYYY-MM-DD HH:MM:SS”). Uses chrono for correct leap-year and post-2106 handling.

Type Aliases§

RemoteFileEntry
Backward-compatible alias for code that still references RemoteFileEntry.