xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 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 | |
| 17 | Since curl 7.74.0 this option is enabled by default. |
| 18 | |
| 19 | This option has no effect if PORT, EPRT or EPSV is used instead of PASV. |