[comp.sys.apple] binaries

hlb@loral.UUCP (05/27/89)

When binaries files are ascii encoded with binscii and come in 
several parts are they downloaded and converted separately or
merged before downloading?  If so, how?  Thanks.

krb20699@uxa.cso.uiuc.edu (05/28/89)

     You download them separately, then run binscii on each of the files.  If
you convert the LF's that Unix sends to CR's, you can load them in AppleWorks,
or some other Word Processor, paste them into one TXT file, and run Binscii on
them.  It's much easier, however, to run binscii on each file instead of
converting LF's.  The only gain to pasting them together into one large TXT file
is that Binscii converts all the files from one typed filename.

								     Ken.
						krb20699@uxa.cso.uiuc.edu

SEWALL@UCONNVM.BITNET (Murph Sewall) (05/29/89)

>When binaries files are ascii encoded with binscii and come in
>several parts are they downloaded and converted separately or
>merged before downloading?  If so, how?  Thanks.

If you concatonate ALL the BinSCII'd parts into one file (in any order)
then BinSCII will figure it all out and create the original binary file.
If you have the ASCII parts in several files, you'll need to have BinSCII
decode all of them before you really have a complete binary file (even though
a file will be created after the first part is decoded, some <most> of the
binary will be missing until ALL the parts have been decoded.

I generally stip the mail headers and any extraneous text with the host's
editor, concatonate the parts, and download one file.  That procedure
downloads the minimum number of bytes.  If you're using a system without
a convenient host editor, just download everything and let BinSCII discard
the headers and other unnecessary lines.

Murph Sewall                       Vaporware? ---> [Gary Larson returns 1/1/90]
Prof. of Marketing     Sewall@UConnVM.BITNET
Business School        sewall%uconnvm.bitnet@mitvma.mit.edu          [INTERNET]
U of Connecticut       {psuvax1 or mcvax }!UCONNVM.BITNET!SEWALL     [UUCP]
           (203) 486-5246 [FAX] (203) 486-2489 [PHONE] 41 49N 72 15W [ICBM]

-+- I don't speak for my employer, though I frequently wish that I could
            (subject to change without notice; void where prohibited)

dcw@athena.mit.edu (David C. Whitney) (05/30/89)

In article <2057@loral.UUCP> hlb@loral.UUCP writes:
>
>When binaries files are ascii encoded with binscii and come in 
>several parts are they downloaded and converted separately or
>merged before downloading?  If so, how?  Thanks.

You may combine the parts into one text file before running them
through BinSCII, but it isn't required. BinSCII decodes parts and
inserts the data in the proper place in the proper file, so you can
specify files to decode in any order you like. I prefer to combine the
text files on the Unix system and then decode the whole file all at
once. It's much easier to deal with.

Dave Whitney	A junior in Computer Science at MIT
dcw@athena.mit.edu  ...!bloom-beacon!athena.mit.edu!dcw  dcw@goldilocks.mit.edu
I wrote Z-Link & BinSCII. Send me bug reports. I use a //GS. Send me Tech Info.
"This is MIT. Collect and 3rd party calls will not be accepted at this number."