disable-epsv.d 636 B

12345678910111213141516171819
  1. Long: disable-epsv
  2. Help: Inhibit using EPSV
  3. Protocols: FTP
  4. Category: ftp
  5. Example: --disable-epsv ftp://example.com/
  6. Added: 7.9.2
  7. ---
  8. Tell curl to disable the use of the EPSV command when doing passive FTP
  9. transfers. Curl will normally always first attempt to use EPSV before
  10. PASV, but with this option, it will not try using EPSV.
  11. --epsv can be used to explicitly enable EPSV again and --no-epsv is an alias
  12. for --disable-epsv.
  13. If the server is an IPv6 host, this option will have no effect as EPSV is
  14. necessary then.
  15. Disabling EPSV only changes the passive behavior. If you want to switch to
  16. active mode you need to use --ftp-port.