blob: 3f58f508c7bc63d19b24b4caca8e2e065c12b9f7 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: disable-epsv
4Help: Inhibit using EPSV
5Protocols: FTP
6Category: ftp
7Example: --disable-epsv ftp://example.com/
8Added: 7.9.2
9See-also: disable-eprt ftp-port
10Multi: boolean
11---
12Tell curl to disable the use of the EPSV command when doing passive FTP
13transfers. Curl will normally always first attempt to use EPSV before
14PASV, 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
17for --disable-epsv.
18
19If the server is an IPv6 host, this option will have no effect as EPSV is
20necessary then.
21
22Disabling EPSV only changes the passive behavior. If you want to switch to
23active mode you need to use --ftp-port.