blob: 8a21fed8dc12236805f8ac1c1aa23489fc9385d1 [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-eprt
4Help: Inhibit using EPRT or LPRT
5Protocols: FTP
6Category: ftp
7Example: --disable-eprt ftp://example.com/
8Added: 7.10.5
9See-also: disable-epsv ftp-port
10Multi: boolean
11---
12Tell curl to disable the use of the EPRT and LPRT commands when doing active
13FTP transfers. Curl will normally always first attempt to use EPRT, then LPRT
14before using PORT, but with this option, it will use PORT right away. EPRT and
15LPRT are extensions to the original FTP protocol, and may not work on all
16servers, but they enable more functionality in a better way than the
17traditional PORT command.
18
19--eprt can be used to explicitly enable EPRT again and --no-eprt is an alias
20for --disable-eprt.
21
22If the server is accessed using IPv6, this option will have no effect as EPRT
23is necessary then.
24
25Disabling EPRT only changes the active behavior. If you want to switch to
26passive mode you need to not use --ftp-port or force it with --ftp-pasv.