realbasic-nug
[Top] [All Lists]

AppleDouble and ResourceFork

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: AppleDouble and ResourceFork
From: Chris Jett <chris at jettfuel dot net>
Date: Thu, 31 Aug 2006 13:00:53 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I am working on an application that needs to take a Mac file and convert it into an AppleDouble email attachment. As I understand it, AppleDouble takes the resource fork, splits it off and base64 encodes it. How would I go about getting the entire resource fork into a format that I can then base64 encode?

Also - looking at an attachment that I sent myself with Apple Mail, I see x-mac-type, x-unix-mode, and x-mac-creator headers for the datafork portion of the email. Obviously, the x-mac-type and x-mac- creator are somehow encoded type and creator codes, and the unix-mode is simply the file permissions. Does anyone know how Apple is encoding these type and creator codes?
--
Chris Jett
chris at jettfuel dot net
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>