mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
ef305de95c
The keyword specifies how option works when specified multiple times: - single: the last provided value replaces the earlier ones - append: it supports being provided multiple times - boolean: on/off values - mutex: flag-like option that disable anoter flag The 'gen.pl' script then outputs the proper and unified language for each option's multi-use behavior in the generated man page. The multi: header is requires in each .d file and will cause build error if missing or set to an unknown value. Closes #9759
27 lines
1.0 KiB
Makefile
27 lines
1.0 KiB
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: disable-eprt
|
|
Help: Inhibit using EPRT or LPRT
|
|
Protocols: FTP
|
|
Category: ftp
|
|
Example: --disable-eprt ftp://example.com/
|
|
Added: 7.10.5
|
|
See-also: disable-epsv ftp-port
|
|
Multi: boolean
|
|
---
|
|
Tell curl to disable the use of the EPRT and LPRT commands when doing active
|
|
FTP transfers. Curl will normally always first attempt to use EPRT, then LPRT
|
|
before using PORT, but with this option, it will use PORT right away. EPRT and
|
|
LPRT are extensions to the original FTP protocol, and may not work on all
|
|
servers, but they enable more functionality in a better way than the
|
|
traditional PORT command.
|
|
|
|
--eprt can be used to explicitly enable EPRT again and --no-eprt is an alias
|
|
for --disable-eprt.
|
|
|
|
If the server is accessed using IPv6, this option will have no effect as EPRT
|
|
is necessary then.
|
|
|
|
Disabling EPRT only changes the active behavior. If you want to switch to
|
|
passive mode you need to not use --ftp-port or force it with --ftp-pasv.
|