ftp-skip-pasv-ip.d 640 B

12345678910111213141516171819
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: ftp-skip-pasv-ip
  4. Help: Skip the IP address for PASV
  5. Protocols: FTP
  6. Added: 7.14.2
  7. See-also: ftp-pasv
  8. Category: ftp
  9. Example: --ftp-skip-pasv-ip ftp://example.com/
  10. Multi: boolean
  11. ---
  12. Tell curl to not use the IP address the server suggests in its response
  13. to curl's PASV command when curl connects the data connection. Instead curl
  14. will re-use the same IP address it already uses for the control
  15. connection.
  16. Since curl 7.74.0 this option is enabled by default.
  17. This option has no effect if PORT, EPRT or EPSV is used instead of PASV.