blob: 6d2cb708984fc2fd0fdfcc3a77ae9aea51c12e02 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001Long: disable-epsv
2Help: Inhibit using EPSV
3Protocols: FTP
4---
5(FTP) Tell curl to disable the use of the EPSV command when doing passive FTP
6transfers. Curl will normally always first attempt to use EPSV before PASV,
7but with this option, it will not try using EPSV.
8
9--epsv can be used to explicitly enable EPSV again and --no-epsv is an alias
10for --disable-epsv.
11
12If the server is an IPv6 host, this option will have no effect as EPSV is
13necessary then.
14
15Disabling EPSV only changes the passive behavior. If you want to switch to
16active mode you need to use --ftp-port.