ftp-pasv.md (691B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: ftp-pasv 5 Help: Send PASV/EPSV instead of PORT 6 Protocols: FTP 7 Added: 7.11.0 8 Category: ftp 9 Multi: mutex 10 Mutexed: ftp-port 11 See-also: 12 - disable-epsv 13 Example: 14 - --ftp-pasv ftp://example.com/ 15 --- 16 17 # `--ftp-pasv` 18 19 Use passive mode for the data connection. Passive is the internal default 20 behavior, but using this option can be used to override a previous --ftp-port 21 option. 22 23 Reversing an enforced passive really is not doable but you must then instead 24 enforce the correct --ftp-port again. 25 26 Passive mode means that curl tries the EPSV command first and then PASV, 27 unless --disable-epsv is used.