blob: d6b4bfd9f1758e1225ebed60206b599243b8debb [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: ftp-pasv
4Help: Use PASV/EPSV instead of PORT
5Protocols: FTP
6Added: 7.11.0
7See-also: disable-epsv
8Category: ftp
9Example: --ftp-pasv ftp://example.com/
10Multi: boolean
11---
12Use passive mode for the data connection. Passive is the internal default
13behavior, but using this option can be used to override a previous --ftp-port
14option.
15
16Reversing an enforced passive really is not doable but you must then instead
17enforce the correct --ftp-port again.
18
19Passive mode means that curl will try the EPSV command first and then PASV,
20unless --disable-epsv is used.