2
0

ftp-pasv.d 645 B

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