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