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 11:48:17 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
John Pickering writes


I need to get a file from a server running NT. The file on the NT server
uses line feeds only as record delimiters. My understanding is that this is
what is known as a bytestream file. I need a plain old MPE flat file with a
record length of 160 on the 3k.

So what's wrong with the following? All I get is a single record (the first
in the file).

 open xx.x.xx.xxx
 user user password
 cd directory_where_the_file_is
 bytestream
 get testfile.txt testfile.group;rec=-160,1,f,ascii;move
 quit
-----------------------------------------------------------
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"

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