Class FtpEndpointOptions
Endpoint options for FTP transport. All properties are auto-bound from URI query parameters.
URI format: ftp:///remote/path?host=server&port=21&username=admin&password=secret&...
Inherits shared polling, post-processing, idempotency, and producer options from
. Adds FTP-specific: passive mode, FTPS/TLS,
transfer type, and more.
public class FtpEndpointOptions : RemoteFileEndpointOptions
Inheritance
Inherited Members
Properties
Flatten
If true, flatten nested directory structures — all files are uploaded to the base directory.
public bool Flatten { get; set; }
IgnoreFileNotFoundOrPermissionError
If true, silently ignore file-not-found or permission errors during listing.
public bool IgnoreFileNotFoundOrPermissionError { get; set; }
JailStartingDirectory
If true, prevent the producer from writing outside the base directory.
public bool JailStartingDirectory { get; set; }
MoveExistingFileStrategy
Strategy for moving existing files when FileExist=Move. (default: Timestamp)
public FtpMoveExistingStrategy MoveExistingFileStrategy { get; set; }
PassiveMode
Use passive mode for data connections. Most firewalls/NATs require passive mode.
public bool PassiveMode { get; set; }
TransferType
Transfer type: Binary (raw bytes, default) or Ascii (line-ending conversion).
public FtpTransferType TransferType { get; set; }
UseFtps
Enable FTP over TLS (FTPS). When true, uses explicit TLS negotiation.
public bool UseFtps { get; set; }
ValidateCertificate
If true, accept any server certificate (useful for self-signed certs in dev/test).
public bool ValidateCertificate { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()
Constructors
FtpEndpointOptions()
Creates FTP endpoint options with protocol-specific defaults.