27 lines
675 B
Markdown
Raw Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: ftp-pasv
2024-05-15 15:20:32 -04:00
Help: Send PASV/EPSV instead of PORT
2023-12-11 20:30:44 -05:00
Protocols: FTP
Added: 7.11.0
Category: ftp
Multi: boolean
2024-05-15 15:20:32 -04:00
See-also:
- disable-epsv
Example:
- --ftp-pasv ftp://example.com/
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--ftp-pasv`
2023-12-11 20:30:44 -05: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.
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.