At 4:47 PM -0400 7/31/00, [log in to unmask] wrote:
>I have a file on my hp3k with the following attributes:
>FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
> SIZE TYP EOF LIMIT R/B SECTORS #X MX
>
>FILEX STORE 128W FB 1723 16776959 1 1728 4 *
>
>I want to use ftp to move the file to my PC (Win2k).
>
>I then want to move the file to another hp3k using ftp again.
>I know how to do this using Reflection (or MS92), I just want to know how
>to do it with ftp.
>
>A simple example of the two ftp sessions would be GREATLY appreciated.
The following example uses an HP-UX box in the middle, but it should all
work the same if you use a Win2k box.
=================
On MPE machine #1
=================
/file b=bstore;dev=disc
/store @;*b;compress
>> TURBO-STORE/RESTORE VERSION C.60.11 B5152AA <<
(C) 1986 HEWLETT-PACKARD CO.
STORE @;*b;COMPRESS
WED, FEB 9, 2000, 2:16 PM
FILES STORED : 64
TOTAL MEDIA WRITTEN : 1
/listf bstore,2
ACCOUNT= EXPDEV GROUP= BARRY
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
BSTORE STORE 128W FB 3174 16776959 1 3184 5 *
/ftp.arpa.sys
File Transfer Protocol [A0009B02] (C) Hewlett-Packard Co. 1990
ftp> open oz
220 oz FTP server (Version 1.7.212.2 Tue Apr 21 12:14:46 GMT 1998) ready.
Connected to oz (192.168.0.11). (FTPINFO 40)
Name(mgr): barry
331 Password required for barry.
Password:
230 User barry logged in.
Remote system type is UNIX.
ftp> binary
200 Type set to I.
ftp> put ./BSTORE bstore
200 PORT command successful.
150 Opening BINARY mode data connection for bstore.
226 Transfer complete.
812544 bytes sent in 0.97 seconds (815.52 Kbytes/sec)
ftp> close
221 Goodbye.
ftp> quit
/
====================
On the HP-UX machine
====================
(oz#barry) /home/barry: ls -l bstore
-rw-r----- 1 barry users 812544 Jul 31 14:13 bstore
(oz#barry) /home/barry: ftp
ftp> open lisa
Connected to lisa.allegro.com.
220 HP ARPA FTP Server [A0009001] (C) Hewlett-Packard Co. 1990
Name (lisa:barry): mgr.barry
331 Password required for MGR.BARRY. Syntax: userpass
Password:
230 User logged on
Remote system type is MPE/iX.
ftp> binary
200 Type set to I.
ftp> put bstore ./BSTORE;rec=128,,f,binary;code=2501
200 PORT command ok.
150 File: ./BSTORE;rec=128,,f,binary;code=2501 opened; data connection will
be o
pened
226 Transfer complete.
812544 bytes sent in 1.45 seconds (547.78 Kbytes/s)
ftp> close
221 Server is closing command connection
ftp> quit
(oz#barry) /home/barry:
=================
On MPE machine #2
=================
:listf b@,2
ACCOUNT= BARRY GROUP= PUB
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
BSTORE STORE 128W FB 3174 204800 1 3184 5 8
:file b=bstore;dev=disc
:vstore *b;@[log in to unmask]@
>> TURBO-STORE/RESTORE/VSTORE VERSION C.60.00 B5152AA <<
(C) 1986 HEWLETT-PACKARD CO.
VSTORE *b;@[log in to unmask]@
MON, JUL 31, 2000, 2:08 PM
WILL VERIFY 64 FILES ; NUMBER OF FILES ON MEDIA 64
FILES VERIFIED : 64
:
HTH,
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.com
(408)252-2330
|