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