ENDEPSV (Specify Whether to Send an EPSV Subcommand)
The SENDEPSV IBM® i FTP client subcommand specifies whether to send an EPSV subcommand to the FTP server when transferring data or issuing the DIR and LS subcommands.
FTP client subcommand
SENDEPSV [ 0 | 1 ]
If there is no parameter, SENDEPSV works like a toggle switch. The SENDEPSV value toggles from 1 (ON) to 0 (OFF) or from 0 to 1.
When there is a parameter, the valid values are:
0 Do not send an EPSV subcommand. 1 Send an EPSV subcommand. This value is the default.
The default (on) is to send the EPSV subcommand. When SENDEPSV is off, the FTP client does not send the EPSV subcommand.
Notes: 1.Use of the EPSV subcommand to establish a data transfer connection is recommended when establishing a connection through a firewall. In some cases, data transfer through a firewall is not possible without the EPSV subcommand.
2.Some FTP servers do not support the EPSV subcommand. If SENDEPSV is set to ON and the FTP client attempts a data transfer with a server that does not support EPSV, the FTP client displays a message to indicate that the server does not support EPSV. The FTP client then attempts to establish the data transfer connection by sending the PASV subcommand.
3.When SENDEPSV is set to OFF or disabled, the PASV subcommand is sent to the server when SENDPASV is ON.