| 1 |
Long: disable-eprt |
| 2 |
Help: Inhibit using EPRT or LPRT |
| 3 |
Protocols: FTP |
| 4 |
--- |
| 5 |
Tell curl to disable the use of the EPRT and LPRT commands when doing active |
| 6 |
FTP transfers. Curl will normally always first attempt to use EPRT, then LPRT |
| 7 |
before using PORT, but with this option, it will use PORT right away. EPRT and |
| 8 |
LPRT are extensions to the original FTP protocol, and may not work on all |
| 9 |
servers, but they enable more functionality in a better way than the |
| 10 |
traditional PORT command. |
| 11 |
|
| 12 |
--eprt can be used to explicitly enable EPRT again and --no-eprt is an alias |
| 13 |
for --disable-eprt. |
| 14 |
|
| 15 |
If the server is accessed using IPv6, this option will have no effect as EPRT |
| 16 |
is necessary then. |
| 17 |
|
| 18 |
Disabling EPRT only changes the active behavior. If you want to switch to |
| 19 |
passive mode you need to not use --ftp-port or force it with --ftp-pasv. |