disable-epsv.d 770 B

12345678910111213141516171819202122
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: disable-epsv
  4. Help: Inhibit using EPSV
  5. Protocols: FTP
  6. Category: ftp
  7. Example: --disable-epsv ftp://example.com/
  8. Added: 7.9.2
  9. See-also: disable-eprt ftp-port
  10. ---
  11. Tell curl to disable the use of the EPSV command when doing passive FTP
  12. transfers. Curl will normally always first attempt to use EPSV before
  13. PASV, but with this option, it will not try using EPSV.
  14. --epsv can be used to explicitly enable EPSV again and --no-epsv is an alias
  15. for --disable-epsv.
  16. If the server is an IPv6 host, this option will have no effect as EPSV is
  17. necessary then.
  18. Disabling EPSV only changes the passive behavior. If you want to switch to
  19. active mode you need to use --ftp-port.