🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #4710

Re: Need help with file transfers/headers

#4710
From: Leonard Rosenthol
Date: Sun, 17 Sep 1989 18:46
30 lines
2117 bytes
In article <108@tons61.UUCP> harrys@tons61.UUCP (Harry Skelton) writes:
>
>    I'm trying to transmit some "MS-DOS" MS Word files from my mac to 
>    my Unix machine for conversions into some Unix word processing 
>    documents.  The problem I am having is when I transmit the files, it
>    seems to keep the Mac header information.  i.e. icon info etc...
>
	The reason you are seeing this is because you are sending the file
in MacBinary format.  MacBinary format is the file format which allows you to
transmit a file from one Mac to another and have the Mac information (icon, etc)
on the other side.  To stop that from happening, simply turn off the MacBinary
option in you communications program.  I believe in Red Ryder that is found in
the Transfer Options(??).

>    Is there a way I can strip the "Mac" information from this file and 
>    have only the data?  Is there a good "C" program to do this?
>
	The information is only the first 128 bytes of the file, so if you
strip off those bytes you will have your file as it was without the header. 
Also note that since the Mac uses a two forked document structure (file and
resource) the MacBinary format also puts the two forks together into one for
other systems that only know about one fork. Since MSWord docs only have one
fork (data) there is no reason to worry about this, but I thought you might
be interested anyway.

-- 
+--------------------------------------------------+
Leonard Rosenthol        |  GEnie : MACgician
Lazerware, inc.          |  MacNet: MACgician
UUCP: svc@well.UUCP      |  ALink : D0025
Technical Details
Message-ID: <13678@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!netsys!lamc!well!svc
References: <108@tons61.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!netsys!lamc!well!svc
From: svc@well.UUCP (Leonard Rosenthol)
Newsgroups: comp.sys.mac
Subject: Re: Need help with file transfers/headers
Summary: Turn off MacBinary!
Keywords: Red Ryder MSWord X/Ymodem
Message-ID: <13678@well.UUCP>
Date: 17 Sep 89 18:46:54 GMT
References: <108@tons61.UUCP>
Reply-To: svc@well.UUCP (Leonard Rosenthol)
Distribution: usa
Organization: Whole Earth 'Lectronic Link, Sausalito, CA
Lines: 30