HP ARPA File Transfer Protocol User's Guide (36957-90159)
Appendix A 79
MPE/iX and POSIX Differences
Building and Transferring a Bytestream File
BYTESTRM 1B BA 1119420 2000000 1 4608 18 *
NOTE
The BYTESRM file contains 80 (record size) x 13820 (number of records) plus
13820 (the number of line feed (hexadecimal $0A) record terminator
characters).
Building and Transferring a Bytestream File
These examples create a bytestream file in the POSIX shell and MPE namespace with the
vi editor and then transfers that file to a remote system with FTP.
Example 1:
File transfer HP3000 MPE/iX to HP3000 MPE/iX system.
:sh
############################################################################
MPE/iX Shell and Utilities (A.00.00)
COPYRIGHT (C) Hewlett-Packard Company 1992, All Rights Reserved.
############################################################################
shell/iX > vi
This is a test file with sample data.
-
:w bytestrm
shell/iX> ls bytestrm
bytestrm
shell/iX> /SYS/ARPA/FTP
File Transfer Protocol [A0006018] (C) Hewlett-Packard Co. 1990
ftp> :LISTFILE /SYS/PUB/bytestrm
PATH= /SYS/PUB/
bytestrm
ftp> pwd
257-“/SYS/WORK” is the current directory.
257 “,MANAGER.SYS,WORK” is the current session.
ftp> put /SYS/PUB/bytestrm
200 PORT command ok.
150 File: ./bytestrm;REC=,,B;DISC=2147483647,8 opened; data connection will
be opened
226 Transfer complete.
38 bytes sent in 0.00 seconds (18.55 Kbytes/sec)
ftp> dir ./bytestrm