xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 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 | Multi: boolean |
| 11 | --- |
| 12 | Tell curl to disable the use of the EPSV command when doing passive FTP |
| 13 | transfers. Curl will normally always first attempt to use EPSV before |
| 14 | PASV, but with this option, it will not try using EPSV. |
| 15 | |
| 16 | --epsv can be used to explicitly enable EPSV again and --no-epsv is an alias |
| 17 | for --disable-epsv. |
| 18 | |
| 19 | If the server is an IPv6 host, this option will have no effect as EPSV is |
| 20 | necessary then. |
| 21 | |
| 22 | Disabling EPSV only changes the passive behavior. If you want to switch to |
| 23 | active mode you need to use --ftp-port. |