At 12:49 pm -0500 22/12/01, David MacAlpine wrote:

>1.  Have everyone use ms explorer for the mac.  Not sure why, but ms
>explorer seems to keep the creator/type associated with the file, wherease
>netscape and mozilla do not. (Is msexplorer binhexing the data on the
>fly???) The majority of the lab prefers netscape.

I think that MS Explorer might upload files in AppleSingle format
(which preserves type/creator information).

>2. Have the users binhex the file before storing it in the database.  Not
>likely most users would be baffled.
>
>3.  Use Convert:BinHex module on the server to add creator/type information
>as well as binhexing the data.  This seems to work fine, but there are
>several programs we use and it would be hard to guess which program the
>binary data is in.  (I tried using
>$type=$query->UploadInfo($filename)->{'Content-Type'} with no success)
>
>Does anyone have any clever ideas? Is there a way to specify to tell the
>browser(netscape/mozilla) to binhex the data before uploading?

Another thing you could do is to assign a unique file extension to
files of this type when they get uploaded (or ensure that everyone
uploading such files uses the file extension), and then have
everyone who downloads files set up a mapping in their Internet
prefs panel for this file extension (and/or in their Netscape prefs).
That way, the files will be assigned a type/creator at download time,
by mapping from the file extension.

Simon

Reply via email to