ftp-pasv.d 710 B

1234567891011121314151617181920
  1. c: Copyright (C) 1998 - 2022, 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. ---
  11. Use passive mode for the data connection. Passive is the internal default
  12. behavior, but using this option can be used to override a previous --ftp-port
  13. option.
  14. If this option is used several times, only the first one is used. Undoing an
  15. enforced passive really is not doable but you must then instead enforce the
  16. correct --ftp-port again.
  17. Passive mode means that curl will try the EPSV command first and then PASV,
  18. unless --disable-epsv is used.