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