1*6236dae4SAndroid Build Coastguard Worker--- 2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al. 3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl 4*6236dae4SAndroid Build Coastguard WorkerLong: disable-epsv 5*6236dae4SAndroid Build Coastguard WorkerHelp: Inhibit using EPSV 6*6236dae4SAndroid Build Coastguard WorkerProtocols: FTP 7*6236dae4SAndroid Build Coastguard WorkerCategory: ftp 8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.9.2 9*6236dae4SAndroid Build Coastguard WorkerMulti: boolean 10*6236dae4SAndroid Build Coastguard WorkerSee-also: 11*6236dae4SAndroid Build Coastguard Worker - disable-eprt 12*6236dae4SAndroid Build Coastguard Worker - ftp-port 13*6236dae4SAndroid Build Coastguard WorkerExample: 14*6236dae4SAndroid Build Coastguard Worker - --disable-epsv ftp://example.com/ 15*6236dae4SAndroid Build Coastguard Worker--- 16*6236dae4SAndroid Build Coastguard Worker 17*6236dae4SAndroid Build Coastguard Worker# `--disable-epsv` 18*6236dae4SAndroid Build Coastguard Worker 19*6236dae4SAndroid Build Coastguard WorkerDisable the use of the EPSV command when doing passive FTP transfers. Curl 20*6236dae4SAndroid Build Coastguard Workernormally first attempts to use EPSV before PASV, but with this option, it does 21*6236dae4SAndroid Build Coastguard Workernot try EPSV. 22*6236dae4SAndroid Build Coastguard Worker 23*6236dae4SAndroid Build Coastguard Worker--epsv can be used to explicitly enable EPSV again and --no-epsv is an alias 24*6236dae4SAndroid Build Coastguard Workerfor --disable-epsv. 25*6236dae4SAndroid Build Coastguard Worker 26*6236dae4SAndroid Build Coastguard WorkerIf the server is an IPv6 host, this option has no effect as EPSV is necessary 27*6236dae4SAndroid Build Coastguard Workerthen. 28*6236dae4SAndroid Build Coastguard Worker 29*6236dae4SAndroid Build Coastguard WorkerDisabling EPSV only changes the passive behavior. If you want to switch to 30*6236dae4SAndroid Build Coastguard Workeractive mode you need to use --ftp-port. 31