Skip to content

FtpPassiveHostStrategy

type FtpPassiveHostStrategy = "advertised" | "control";

Defined in: src/providers/classic/ftp/FtpProvider.ts:149

Host selection strategy for PASV data endpoints.

control connects data sockets back to the control connection host, which avoids broken private or unroutable PASV addresses from NATed servers. advertised uses the host supplied by the server’s PASV response for deployments that require it.