2022-06-14 06:12:03 +08:00
|
|
|
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
Long: ftp-pasv
|
|
|
|
Help: Use PASV/EPSV instead of PORT
|
|
|
|
Protocols: FTP
|
|
|
|
Added: 7.11.0
|
|
|
|
See-also: disable-epsv
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: ftp
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --ftp-pasv ftp://example.com/
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
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.
|
|
|
|
|
2022-10-18 16:39:43 +08:00
|
|
|
Reversing an enforced passive really is not doable but you must then instead
|
|
|
|
enforce the correct --ftp-port again.
|
2016-11-16 06:44:58 +08:00
|
|
|
|
|
|
|
Passive mode means that curl will try the EPSV command first and then PASV,
|
|
|
|
unless --disable-epsv is used.
|