FTP client subcommand
To specify whether to send
a PORT subcommand to the FTP server when doing a data transfer or when issuing
the DIR and LS subcommands. Enter the SENDPORT FTP client subcommand:
If there is no parameter, SENDPORT works like a toggle switch. The
SENDPORT value changes from 1 (ON) to 0 (OFF) or from 0 to 1.
When there
is a parameter, the valid values are:
- 0
- Do not send a PORT subcommand.
- 1
- Send a PORT subcommand. This is the default.
Notes: - Use SENDPORT only when you cannot establish a connection to the server
without it. The indiscriminate use of SENDPORT might result in errors.
- You might find it useful to not send the PORT subcommand to those systems
that ignore PORT subcommands because they indicate that they have accepted
the command.
- The server does not send the PORT subcommand when the SENDPASV option
is ON.