xref: /aosp_15_r20/external/curl/docs/cmdline-opts/ftp-skip-pasv-ip.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3SPDX-License-Identifier: curl
4Long: ftp-skip-pasv-ip
5Help: Skip the IP address for PASV
6Protocols: FTP
7Added: 7.14.2
8Category: ftp
9Multi: boolean
10See-also:
11  - ftp-pasv
12Example:
13  - --ftp-skip-pasv-ip ftp://example.com/
14---
15
16# `--ftp-skip-pasv-ip`
17
18Do not use the IP address the server suggests in its response to curl's PASV
19command when curl connects the data connection. Instead curl reuses the same
20IP address it already uses for the control connection.
21
22This option is enabled by default (added in 7.74.0).
23
24This option has no effect if PORT, EPRT or EPSV is used instead of PASV.
25