2016-11-15 17:44:58 -05:00
|
|
|
Long: disable-eprt
|
|
|
|
Help: Inhibit using EPRT or LPRT
|
|
|
|
Protocols: FTP
|
2020-07-13 08:15:04 -04:00
|
|
|
Category: ftp
|
2016-11-15 17:44:58 -05:00
|
|
|
---
|
|
|
|
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.
|