aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/ftp-pasv.d
blob: c43bf2beeacc8b687ee5598099950277980e8f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: ftp-pasv
Help: Use PASV/EPSV instead of PORT
Protocols: FTP
Added: 7.11.0
See-also: disable-epsv
Category: ftp
Example: --ftp-pasv ftp://example.com/
Multi: boolean
---
Use passive mode for the data connection. Passive is the internal default
behavior, but using this option can be used to override a previous --ftp-port
option.

Reversing an enforced passive really is not doable but you must then instead
enforce the correct --ftp-port again.

Passive mode means that curl tries the EPSV command first and then PASV,
unless --disable-epsv is used.