HP3000-L Archives

March 2002, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Berkowitz <[log in to unmask]>
Reply To:
Michael Berkowitz <[log in to unmask]>
Date:
Mon, 18 Mar 2002 13:00:53 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (60 lines)
donna garverick writes


Michael Berkowitz wrote:

> FTP will not do bytestream to record oriented conversion.
>
> You must
>
>  open xx.x.xx.xxx
>  user user password
>  cd directory_where_the_file_is
>  bytestream
>  get testfile.txt testfiby.group   << file will be bytestream >>
>  quit
>
> :FROMBYTE.HPBIN.SYS "TESTFIBY.GROUP TESTFILE.GROUP"

to work from the bottom up....

frombyte will not give you the result you want.  frombyte (being seriously
dame-bramaged, imo) only knows how to return 80 ascii records....not what
you
want.  also, frombyte has a predilection for hfs files, so i doubt it would
like the suggested syntax (even if it were capable of giving you what you
want).

i'm wondering what kind of result you get when you say 'ascii' and
'get....rec=-160....'?   - d
----------------------------------------------
Frombyte is brain damaged and only makes 80 byte ascii records, the only
parameter is -b to make 120 word binary records (according to man which is
wrong, it makes 128 word records).  However you do not need to use HFS
naming conventions as shown below

:LISTF DDD,2
ACCOUNT=  DEV         GROUP=  MB

FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

DDD                 1B  BA         247   32000000   1      256  1 32


:FROMBYTE.HPBIN.SYS "-b DDD DDDD"
:LISTF DDD@,2
ACCOUNT=  DEV         GROUP=  MB

FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

DDD                 1B  BA         247   32000000   1      256  1 32
DDDD              128W  FB           1    8388607   1      256  1  *

Mike Berkowitz
Guess? Inc.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2