44103e21a380c7398491dcb2cc2139c4f4e0dd51
[platform/upstream/curl.git] / docs / cmdline-opts / ftp-pasv.d
1 Long: ftp-pasv
2 Help: Use PASV/EPSV instead of PORT
3 Protocols: FTP
4 Added: 7.11.0
5 See-also: disable-epsv
6 ---
7 Use passive mode for the data connection. Passive is the internal default
8 behavior, but using this option can be used to override a previous --ftp-port
9 option.
10
11 If this option is used several times, only the first one is used. Undoing an
12 enforced passive really isn't doable but you must then instead enforce the
13 correct --ftp-port again.
14
15 Passive mode means that curl will try the EPSV command first and then PASV,
16 unless --disable-epsv is used.