xref: /curl/docs/cmdline-opts/ftp-pasv.md (revision fe9f68fa)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: ftp-pasv
5Help: Send PASV/EPSV instead of PORT
6Protocols: FTP
7Added: 7.11.0
8Category: ftp
9Multi: boolean
10See-also:
11  - disable-epsv
12Example:
13  - --ftp-pasv ftp://example.com/
14---
15
16# `--ftp-pasv`
17
18Use passive mode for the data connection. Passive is the internal default
19behavior, but using this option can be used to override a previous --ftp-port
20option.
21
22Reversing an enforced passive really is not doable but you must then instead
23enforce the correct --ftp-port again.
24
25Passive mode means that curl tries the EPSV command first and then PASV,
26unless --disable-epsv is used.
27