disable-eprt.d 1.0 KB

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