Author Topic: How to detect MacBinary file encoding to avoid truncation  (Read 356 times)

jbschwartz

  • Newbie
  • Posts: 2
How to detect MacBinary file encoding to avoid truncation
« on: July 26, 2014, 08:12:07 AM »
Hi Folks,

I figured out that the reason I my getting occasional truncated filenames upon transfer was apparently due to MacBinary encoding on PDF files that were supplied to me.  I understand that one fix is to change the Transfer/Encoding setting to MacBinary (vs Automatic).  I'm not sure if that is a good setting for permanent use.

I'd rather be able to detect that a file is MacBinary encoded (I don't know how) or better yet, have Yummy alert me upon transfer.  Otherwise, I spend time troubleshooting why file names don't match up.

Suggestions?

Jonathan




JD

  • Administrator
  • FTP Guru
  • Posts: 2513
Re: How to detect MacBinary file encoding to avoid truncation
« Reply #1 on: July 26, 2014, 08:27:16 AM »
In Auto mode, if you have the Suffix Mapping table entry for '.bin' (the correct ending for MacBinary files) set to MacBinary, then Yummy will auto-decode the file on download, resulting in the original file, but with file name length limitations. This can lead to truncated file names.

I just checked my own Suffix Mapping table in the default settings and no auto-decoding is done because '.bin' files are marked to transfer in Binary (no encoding at all, raw data, as is).

In v1.9.3 the Suffix Mapping table is available via a button in the Obscure panel of the Preferences. In earlier versions it's in the menu bar off the Transfer menu.

If you're still getting problems, it's probably best to contact me in support (support @ yummy software dot com) and send me an FTP Transcript file of a problem download.