File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,14 +278,14 @@ FTP objects
278278
279279 .. attribute :: FTP.prefer_epsv
280280
281- A :class: `bool ` that controls whether :meth: ` makepasv ` tries the EPSV
282- command (RFC 2428) before falling back to PASV on IPv4 connections.
283- Defaults to ``True ``.
284-
285- EPSV responses contain only a port number and no IP address, making them
286- transparent to firewall FTP Application Layer Gateways (ALGs) that
287- commonly intercept and mangle PASV responses. If the server does not
288- support EPSV, :meth: ` makepasv ` falls back to PASV automatically.
281+ A :class: `bool ` that controls whether passive mode data connections
282+ try the EPSV command (:rfc: ` 2428 ` ) before falling back to PASV on IPv4
283+ connections. Defaults to ``True ``.
284+
285+ EPSV responses contain only a port number and no IP address, making them
286+ transparent to firewall FTP Application Layer Gateways (ALGs) that
287+ commonly intercept and mangle PASV responses. If the server does not
288+ support EPSV, the connection falls back to PASV automatically.
289289
290290 Set to ``False `` to restore the legacy PASV-first behavior on IPv4.
291291
You can’t perform that action at this time.
0 commit comments