2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
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
|
2023-09-08 20:32:29 +08:00
|
|
|
transfers. Curl normally first attempts to use EPSV before PASV, but with this
|
|
|
|
option, it does not try 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.
|
|
|
|
|
2023-09-08 20:32:29 +08:00
|
|
|
If the server is an IPv6 host, this option has no effect as EPSV is necessary
|
|
|
|
then.
|
2016-11-28 08:01:13 +08:00
|
|
|
|
|
|
|
Disabling EPSV only changes the passive behavior. If you want to switch to
|
|
|
|
active mode you need to use --ftp-port.
|