Subject: Re: [netatalk-admins] Converting MIME AppleDouble resource fork to netatalk AppleDouble
From: Bob Smith, Hammett & Edison, Inc. (bsmith@h-e.com)
Date: Fri Jul 10 1998 - 22:47:48 EDT
On Fri, Jul 10, 1998, 16:23:53 Thad MacMillan wrote:
>I'm running into trouble when the encoding is AppleDouble. munpack leaves me
>2 files -- The data fork, and the AppleDouble resource file. I have tried
>simply moving the resource file into .AppleDouble with the correct name, but
>the Macs only see a default TEXT (folded-corner) document. Upon closer
>inspection it appears that the MIME AppleDouble format is a Ver. 2, where,
>netatalk uses a Ver. 1 format.
>
>Am I going to be stuck with trying to write a filter to convert these, or
>has someone already done it, or am I simply doing something wrong?
The problem is netatalk assumes it will only encounter AD files created by
itself, so it looks for a very specific layout to the file header and doesn't
properly parse a file that doesn't have the format it expects. Even a version
1 AD file not created by netatalk will cause unpredictable behavior. I've got
a header conversion utility that may be useful for anyone with this problem, I
sent it privately to Thad, if anyone else is interested just send me a
request!
Bob Smith
Hammett & Edison, Inc.
bsmith@h-e.com
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:32:54 EST