Sendport, Example, Site – HP Integrity NonStop H-Series User Manual
Page 85: Sendport site
![background image](/manuals/397061/85/background.png)
01MAY2003) ready.
Name (fe80::a00:8eff:fe01:7db8:user): super.super
331 Password required for SUPER.SUPER.
Password:
230 User SUPER.SUPER logged in. GUARDIAN API enabled
ftp> cd $fiti.remote
250 CWD command successful.
ftp> lcd $fiti.q9552d
Local working vol.subvol: "\IDC15.$FITI.Q9552D"
ftp> send PERFK0 keyseq,k,1001,6,6,4000,4,0,4096
200 EPRT command successful.
150 Opening data connection for keyseq (fe80::a00:8eff:fe01:7db8,1349d).
226 Transfer complete.
local: $fiti.q9552d.PERFK0 remote: keyseq
6000 bytes received in 0.45 seconds (13.02 Kbytes/s)
ftp>
sendport
Use the sendport command to turn the use of the FTP server PORT command on or off. The
sendport
command operates as a toggle. The default setting is on.
sendport
When sendport is on, FTP attempts to use a PORT command when establishing a connection for
each data transfer. The use of a PORT command can prevent delays when multiple file transfers
are performed.
If you know that the FTP server is ignoring PORT commands and incorrectly indicating that the
commands have been accepted, turn sendport off.
Example
To change the setting of sendport, enter the following command:
ftp> sendport
site
Use the site command to specify that the next command on the command line is a site-specific
command.
site site-specific-command
site-specific-command
is one of the following commands when the remote system is a Guardian system: help, chmod,
nocrlf, and showopen. Table 7-2 in Site-Specific Commands on page 7-4 describes the functions
of these commands.
NOTE:
Remote servers that do not use Guardian support a different set of site-specific
commands. You can obtain a list of these commands by issuing the FTP site help command.
When you enter the site command, the FTP Client does not parse it to check the syntax. The FTP
Client simply forwards it, as is, to the FTP Server. Upon receipt of the site command. the FTP Server
checks the command to see whether it is supported. If it is supported, the FTP Server executes the
command and returns the result to the FTP Client. If the command is not supported, the FTP Server
returns a “command not understood” error message to the FTP Client.
Example
To enable the display of the open flag in the DIR command output, enter the following command:
ftp> site showopens on
FTP Command Reference
85