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

Page 72

Advertising
background image

FILE LABEL: 214 (5.2% USED)
EXTENTS ALLOCATED: 2
INDEX LEVELS: 1

At the TACL prompt, start FTP and open a connection to the FTP server using its IPv4 address. (This
example assumes that both hosts have IPv4 addresses.) Then, using the information highlighted in
the above example, issue the FTP put command:

117> ftp
FTP Client - T9552D30 - (31OCT94) - COPYRIGHT TANDEM COMPUTERS INC. 1994
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> put $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>

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 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 put 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> put 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>

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 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.

72

FTP—Transferring Files

Advertising
This manual is related to the following products: