curl/docs/cmdline-opts/ftp-pasv.md
Daniel Stenberg fe9f68fa61
cmdline-opts: shorter help texts
In an effort to increase the readability of the "--help all" output on
narrow (80 column) terminals.

Co-authored-by: Jay Satiro

Closes #13169
2024-03-25 13:05:24 +01:00

675 B

c SPDX-License-Identifier Long Help Protocols Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl ftp-pasv Send PASV/EPSV instead of PORT FTP 7.11.0 ftp boolean
disable-epsv
--ftp-pasv ftp://example.com/

--ftp-pasv

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.