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