OFFTOPIC applefile (was Re: [Enh] Music Editor)

Andrew C. Greenberg werdna at gate.net
Mon May 1 04:40:44 UTC 2000


At 12:40 AM -0400 5/1/2000, danielv at netvision.net.il wrote:
>Just wondering, could some Mac guy explain what this appledouble stuff
>is? can help but wonder, we'll have to make them transparent in Celeste
>someday... ;-)
>
>Mark Guzdial <guzdial at cc.gatech.edu> wrote:
>
>>  --============_-1255180694==_============
>>  Content-Id: <v04210119b52f73393641@[130.207.3.227].0.0>
>>  Content-Type: multipart/appledouble; 
>>boundary="============_-1255180694==_D============"
>>
>>  --============_-1255180694==_D============
>>  Content-Transfer-Encoding: base64
>>  Content-Type: application/applefile; name="%MusicEditorApril27.zip"
>>  Content-Disposition: attachment; filename="%MusicEditorApril27.zip"
>>   ; modification-date="Thu, 27 Apr 2000 16:00:27 -0400"
>>
>>  AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAADAAAAPgAAABYAAAAJAAAAVAAAACAA
>>  AAAIAAAAdAAAABBNdXNpY0VkaXRvckFwcmlsMjcuemlwWklQIFpJUCABAAKcA8AAAAAA
>  > AAAAAAAAAAAAAAAAAAAAmyCbAJsgm0ttDAAAnEoq

All files in the MacOS file systems comprise two (possibly empty) 
parts: (1) a data fork and (2) a resource fork.  The data fork may 
comprise any data or text in any format whatsoever, the resource fork 
is a highly stylized database of various data types.  Most of what 
you think of as a file comes from the data fork, but apple files need 
to be moved from place to place in their entirety.  One encoding of 
this schizophrenic file structure is called AppleDouble.
-- 
Andrew C. Greenberg		acg at netwolves.com
V.P. Eng., R&D, 		813.885.2779 (office)
Netwolves Corporation		813.885.2380 (facsimile)
www.netwolves.com





More information about the Squeak-dev mailing list