Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 773 Bytes

disable-epsv.md

File metadata and controls

30 lines (25 loc) · 773 Bytes
c SPDX-License-Identifier Long Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <[email protected]>, et al.
curl
disable-epsv
Inhibit using EPSV
FTP
ftp
7.9.2
boolean
disable-eprt
ftp-port
--disable-epsv ftp://example.com/

--disable-epsv

Disable the use of the EPSV command when doing passive FTP transfers. Curl normally first attempts to use EPSV before PASV, but with this option, it does not try EPSV.

--epsv can be used to explicitly enable EPSV again and --no-epsv is an alias for --disable-epsv.

If the server is an IPv6 host, this option has no effect as EPSV is necessary then.

Disabling EPSV only changes the passive behavior. If you want to switch to active mode you need to use --ftp-port.