disable-eprt.d 982 B

12345678910111213141516171819202122232425
  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 normally first attempts to use EPRT before using PORT, but
  14. with this option, it uses PORT right away. EPRT is an extension to the
  15. original FTP protocol, and does not work on all servers, but enables more
  16. functionality in a better way than the traditional PORT command.
  17. --eprt can be used to explicitly enable EPRT again and --no-eprt is an alias
  18. for --disable-eprt.
  19. If the server is accessed using IPv6, this option has no effect as EPRT is
  20. necessary then.
  21. Disabling EPRT only changes the active behavior. If you want to switch to
  22. passive mode you need to not use --ftp-port or force it with --ftp-pasv.