Example 2 – HP Integrity NonStop H-Series User Manual

Page 77

Advertising
background image

First, before starting FTP, obtain a detailed listing of the file:

$55> fup info $ABC.source.bigedit,detail

$ABC.SOURCE.BIGEDIT 19 May 1995, 9:16
ENSCRIBE
TYPE U
CODE 101
EXT ( 8 PAGES, 16 PAGES )
ODDUNSTR
MAXEXTENTS 978
BUFFERSIZE 4096
OWNER 8,164
SECURITY (RWEP): NUNU
DATA MODIF: 10 Oct 1994, 8:01
CREATION DATE: 10 Oct 1994, 8:00
LAST OPEN: 19 May 1995, 9:05
EOF: 775804 (2.4% USED)
FILE LABEL: 250 (6.1% USED)
EXTENTS ALLOCATED: 25

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 recv 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> recv $abc.source.bigedit bigedit,101,8,16,978
200 PORT command successful.
150 Opening data connection for $abc.dest.source bigedit(133.255.17.1) (775804 bytes).
226 Transfer complete.
local: bigedit remote: $abc.source.bigedit
746761 bytes received in 2.89 seconds (252.34 Kbytes/s)
ftp>

Example 2

This example copies a remote, key-sequenced. structured file named KEYSEQ to the local NonStop
system

First, before starting FTP, obtain a detailed listing of the file:

$6> fup info keyseq,detail

$ABC.SOURCE.KEYSEQ 19 May 1995, 9:17
ENSCRIBE
TYPE K
CODE 1001
EXT ( 5 PAGES, 5 PAGES )
REC 60
BLOCK 512
IBLOCK 512
KEYLEN 4
KEYOFF 0
MAXEXTENTS 16
OWNER 165,86
SECURITY (RWEP): NUNU
DATA MODIF: 10 Oct 1994, 16:13
CREATION DATE: 10 Oct 1994, 16:13
LAST OPEN: 19 May 1995, 9:05
EOF: 8704 (5.3% USED)
FILE LABEL: 214 (5.2% USED)

FTP Command Reference

77

Advertising
This manual is related to the following products: