Subject: | |
From: | |
Reply To: | |
Date: | Sat, 24 Jun 1995 07:18:41 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Fri, 23 Jun 1995, Don Smy wrote:
> I'm trying to write some C code that will transfer MPE and POSIX
> files from and to a hp3000. The remote machine is a hp9000 running HP-UX.
>
> My problem is with MPE or POSIX binaries. I need a way of converting these
> binaries to bytestream and back to fixed record length MPE/POSIX
> executables.
Hmm... I've never written a downloader/uploader, however, if you're
able to get the stuff as it's coming in, and you want to throw it into a
fixed record file, try this:
FILE INCOMING;DEV=DISC
BUILD INCOMING;REC=-80,,f,binary
And route your incoming binary to INCOMING, and MPE will store it into
the file INCOMING, with all your parms. If you decide to go variable or
undefined record length, just change the 'f' to 'v' or 'u'. I've used
this method to transfer binaries back and forth between my PC and the HP,
and it seems to work quite well, of course, it's been a while... :)
>
> Any Solutions welcome.
>
Daniel Kosack
|
|
|