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-pasv |
| 4 | Help: Use PASV/EPSV instead of PORT |
| 5 | Protocols: FTP |
| 6 | Added: 7.11.0 |
| 7 | See-also: disable-epsv |
| 8 | Category: ftp |
| 9 | Example: --ftp-pasv ftp://example.com/ |
| 10 | Multi: boolean |
| 11 | --- |
| 12 | Use passive mode for the data connection. Passive is the internal default |
| 13 | behavior, but using this option can be used to override a previous --ftp-port |
| 14 | option. |
| 15 | |
| 16 | Reversing an enforced passive really is not doable but you must then instead |
| 17 | enforce the correct --ftp-port again. |
| 18 | |
| 19 | Passive mode means that curl will try the EPSV command first and then PASV, |
| 20 | unless --disable-epsv is used. |