disable-eprt.md (1006B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: disable-eprt 5 Help: Inhibit using EPRT or LPRT 6 Protocols: FTP 7 Category: ftp 8 Added: 7.10.5 9 Multi: boolean 10 See-also: 11 - disable-epsv 12 - ftp-port 13 Example: 14 - --disable-eprt ftp://example.com/ 15 --- 16 17 # `--disable-eprt` 18 19 Disable the use of the EPRT and LPRT commands when doing active FTP transfers. 20 curl normally first attempts to use EPRT before using PORT, but with this 21 option, it uses PORT right away. EPRT is an extension to the original FTP 22 protocol, and does not work on all servers, but enables more functionality in 23 a better way than the traditional PORT command. 24 25 --eprt can be used to explicitly enable EPRT again and --no-eprt is an alias 26 for --disable-eprt. 27 28 If the server is accessed using IPv6, this option has no effect as EPRT is 29 necessary then. 30 31 Disabling EPRT only changes the active behavior. If you want to switch to 32 passive mode you need to not use --ftp-port or force it with --ftp-pasv.