2022-06-14 06:12:03 +08:00
|
|
|
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
2016-11-28 08:01:13 +08:00
|
|
|
Long: disable-epsv
|
|
|
|
Help: Inhibit using EPSV
|
|
|
|
Protocols: FTP
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: ftp
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --disable-epsv ftp://example.com/
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.9.2
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: disable-eprt ftp-port
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-28 08:01:13 +08:00
|
|
|
---
|
2021-07-19 00:28:40 +08:00
|
|
|
Tell curl to disable the use of the EPSV command when doing passive FTP
|
|
|
|
transfers. Curl will normally always first attempt to use EPSV before
|
|
|
|
PASV, but with this option, it will not try using EPSV.
|
2016-11-28 08:01:13 +08:00
|
|
|
|
|
|
|
--epsv can be used to explicitly enable EPSV again and --no-epsv is an alias
|
|
|
|
for --disable-epsv.
|
|
|
|
|
|
|
|
If the server is an IPv6 host, this option will have no effect as EPSV is
|
|
|
|
necessary then.
|
|
|
|
|
|
|
|
Disabling EPSV only changes the passive behavior. If you want to switch to
|
|
|
|
active mode you need to use --ftp-port.
|