disable-epsv.d 749 B

1234567891011121314151617181920212223
  1. c: Copyright (C) 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. Multi: boolean
  11. ---
  12. Tell curl to disable the use of the EPSV command when doing passive FTP
  13. transfers. Curl normally first attempts to use EPSV before PASV, but with this
  14. option, it does not try EPSV.
  15. --epsv can be used to explicitly enable EPSV again and --no-epsv is an alias
  16. for --disable-epsv.
  17. If the server is an IPv6 host, this option has no effect as EPSV is necessary
  18. then.
  19. Disabling EPSV only changes the passive behavior. If you want to switch to
  20. active mode you need to use --ftp-port.