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

Page 58

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> get keyseq source.keyseq,k,1001,5,5,16,60,4,0,512
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
6200 bytes sent in 0.10 seconds (60.55 Kbytes/s)
ftp>

The time returned on your screen represents the time used to transfer the file, not the total time used
to execute the command.

Example 3

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

As in the previous examples, you should 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 the IPv6 address.
Then, using the information from the FUP INFO display, issue the FTP get 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> get remofile, data4a 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>

The time returned on your screen represents the time used to transfer the file, not the total time used
to execute the command.

Example 4

This example copies a remote, key-sequenced, structured file named keyseq1 to a file named
keyseq2

on the local 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 get command:

\IDC15.$FITI.FTPMARCH 91> ftp fe80::a00:8eff:fe01:7db8
\IDC15.$FITI.FTPMARCH 91..
FTP Client - T9552G07 - (01MAY2003) - COPYRIGHT TANDEM COMPUTERS

58

FTP—Transferring Files

Advertising
This manual is related to the following products: