• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Still Looking for the Perfect BinHex / Binary Encoding Tool

olePigeon

Well-known member
Unless my search has failed me, I've been unable to find a workable BinHex or Binary encoder for storing Macintosh files online.  I wanted to avoid proprietary formats like Stuffit.

I have, unfortunately, run into an issue:

  • BinHex 5.0 is not drag & drop capable, and is really slow compared to MacBinary.
  • DropBin does not use RLE compression, so the resulting encoded files are much, much larger.  It also fails to encode anything with an Ampersand in the name.
  • Stuffit always stuffs first and won't met me just BinHex something.  I found an AppleScript that lets you BinHex using DropStuff, but it's not compatible with version 4.
  • MacBinary II+ and III both fail to encode if the resulting file name is longer than 32 characters; it doesn't know to truncate the name, resulting in me having to change the name of the original file (which I don't want to.) I can put the original file into its own named folder, then use MacBinary.  That so far has been a workaround, but it's a bit annoying.



Anyone have suggestions?  Must be System 7 compatible.  I may have to permanently get out my G4 just for BinHex 5.0.  I have this nagging feeling that one of the versions of Stuffit came with a Binhex utility.

My ideal binary encoding app would be BinHex 5.0 with RLE compression that has Drag & Drop support, can work with special characters in names, and can truncate if the resulting file is longer than 32 characters.  Preferably truncating only the name of the file, not any extensions.

 

johnklos

Well-known member
Perhaps if you're doing lots of files all at once, it'd be easiest to use AppleScript to batch convert using BinHex 5.0.

 

Crutch

Well-known member
I assume you don’t want to do this from a modern Mac? “binhex encode *” from Terminal ...

 

olePigeon

Well-known member
Fetch decodes uploads.  I'm not sure what's going on.  It's uploading encoded, but by the time it's done it's been decoded again. :/   I tried disabling all post-processing and file handling, but it still does it.

 
Last edited by a moderator:

Realitystorm

Well-known member
Odd, I'll check my settings.  When I upload from my LC 475 to my windows machine there was an option I could select so all uploaded files were binhex encoded.  I remember having to figure out how to turn that off so I could transfer raw disk images.

 

olePigeon

Well-known member
2.1.2 I think.  I'll try a newer version, but I'm running MacTCP.

 
Last edited by a moderator:

olePigeon

Well-known member
Fetch 3.0.3 does the same thing.  As it uploads it says "File_name.image.bin"  It even initially lists the directory with that.  But as soon as you refresh, it goes back to "File name.image"

Not sure what's going on. :/

I think at this point I may have to resort to just renaming the files.

 

Realitystorm

Well-known member
Is your server on a windows machine or another Mac?  My server is on a Windows 10 machine running FileZilla.  If your server is on a Mac, perhaps the server is auto decoding?

 

Cory5412

Daring Pioneer of the Future
Staff member
So, what's the use case you're looking for?

I see this come up from time to time and I'm kind of curious what it is people are interested in doing that involves, by my perception at least, and please correct me if I'm wrong, just leaving things binhexed.

My strategy with my own stuff and vtools, because it's a Mac server, is to leave things in their natural format on the HFS+ disks there. Same with when I burn a mac-format CD, basically. I never even got into, like, using stuffit or any other archival tool to enclose things or groups of things.

 

markyb86

Well-known member
On the IIci, I'd look for one of the stuffit extensions. I can't remember (dropstuff?) but I had problems copying files SE > G3. The sit files were extracting as soon as they got to the other HD. Maybe it's doing that with the BinHex'd files?

 

olePigeon

Well-known member
@Cory5412  I have some free space on a friend's web server.  I store a lot of my files there.  As far as archiving, I just wanted to have a non-proprietary binary encoding tool so that I could safely upload my files.  I just didn't want to have to rename everything.  I also wanted to do it in bulk.  I started to just rename files and use MacBinary again, but if you do more than one file, it gets slower and slower.  Maybe it's a memory leak, I don't know.  Happens on both II+ and III.  If you try to encode 5 disk images, for example, it starts off fast, then the second one 25% slower, then 25% slower for the 3rd, etc.  By the time it gets to the 5th file, it takes about 10 minutes to encode it where as if I had done them all separately, it'd 've been 30 seconds.

 
Top