Example 3, Example 4 – HP Integrity NonStop H-Series User Manual

Page 84

Advertising
background image

ftp> open 133.255.17.1
Connecting to 133.255.17.1.........Established.
220 comm.Tandem.COM FTP SERVER T9552D30 (Version 2.c TANDEM 31OCT94) ready.
Name (133.255.17.1:guest): manuals.writer
331 Password required for MANUALS.WRITER.
Password:
230 User MANUALS.WRITER logged in.
ftp> send $abc.source.keyseq keyseq,k,1001,6,6,16,4000,4,0,4096
200 PORT command successful.
150 Opening data connection for source.keyseq (133.255.17.1) (7680 bytes).
226 Transfer complete.
local: keyseq remote: source.keyseq
6000 bytes received in 0.45 seconds (13.02 Kbytes/s)
ftp>

Example 3

This example copies a local ASCII file named data4a into a file named remofile on a remote
NonStop system.The example assumes that both the local and remote systems support IPv6
addressing.

As in the previous examples, use a FUP INFO command to obtain a detailed listing of the file
before starting FTP. In this example, assume that the CODE, EXT, and MAXEXTENTS values are
the same as those for BIGEDIT in Example 1.

At the TACL prompt, start FTP. and open a connection to the FTP server using its IPv6 address.
Then, using the information from the FUP INFO display, issue the FTP send command:

\IDC15.$FITI.FTPMARCH 90> ftp fe80::a00:8eff:fe01:7db8
FTP Client - T9552G07 - (01MAY2003) - COPYRIGHT TANDEM COMPUTERS
INCORPORATED 2003
Connecting to fe80::a00:8eff:fe01:7db8......Established.
220 idc15.om.tcpn.com FTP SERVER T9552G07 (Version 3.r TANDEM
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.data
250 CWD command successful.
ftp> send data4a remofile,101,8,16,978
200 EPRT command successful.
150 Opening data connection for remofile (fe80::a00:8eff:fe01:7db8,1347d).
226 Transfer complete.
Local: data4a remote: remofile
746761 bytes received in 2.89 seconds (252.34 Kbytes/s)
ftp>

Example 4

This example copies a local, key-sequenced, structured file, named PERFK0, to a file named keyseq
on remote NonStop system. The example assumes that both the local and remote systems support
IPv6 addressing.

As in the previous examples, use a FUP INFO command to obtain a detailed listing of the file
before starting FTP. In this example, assume that the TYPE, CODE, REC, IBLOCK, KEYLEN, KEYOFF,
and MAXEXTENTS values are the same as those for the file in Example 2.

Next, start FTP and open a connection to the desired FTP server using its IPv6 address. Then, using
the information from the FUP INFO command, issue the FTP send command:

\IDC15.$FITI.FTPMARCH 91> ftp fe80::a00:8eff:fe01:7db8
\IDC15.$FITI.FTPMARCH 91..
FTP Client - T9552G07 - (01MAY2003) - COPYRIGHT TANDEM COMPUTERS
INCORPORATED 2003
Connecting to fe80::a00:8eff:fe01:7db8.........Established.
220 idc15.wipro.tcpn.com FTP SERVER T9552G07 (Version 3.r TANDEM

84

FTP—Transferring Files

Advertising
This manual is related to the following products: