Re: [WinMac] Downloading hqx files from PC problem


Curtis Wilcox(cwcx[at]uhura.cc.rochester.edu)
Thu, 30 Jul 1998 16:17:25 -0400


At 01:47 PM 7/28/98 -0400, Changhsu P. Liu wrote:
>Thank you all for your help. I have a new finding that make shed some light
>(or more confusion):
>I noticed that the file size of the same downloaded file was different when
>downloading from Mac and from PC. So, I opened both files (one from PC and
>one from Mac) with a text editor on Mac and the text look different too.
>
>I then made a binhex file of a stuffit TeachText program
>(TeachText.sit.hqx) and put it on our ftp site and downloaded it from both
>Mac and PC. Comparing the file, the one downloaded from Mac looked the same
>as original, but the one downloaded from PC was different. Here is a sample
>of the first couple of lines:
>
>1) Downloaded HQX file from Mac (same as the original)
>(This file must be converted with BinHex 4.0)
>:$94PB@0S9'9iG#jcDA3!8dP84&0*9#%!N!4Lf`#3"#ql8dP8)3!"!!"Lfh*-BA8
>#8`#3!aB!!!d!#94PB@0S9'9iG$`!"ZZ+m!"NHQS!N!1!!*!%"[0AP-RE#BB!N"M
>rN!4"8&"-G(4iG#%!T$ae3+3mG8!!!)p$!*!'BP8!N!3Q%`#3#1S0$RMV'L5RA*e
>dbFdAB1fcP6R`QGI!c$blc-bc!DHCem!mbr2kEXfV0H[XSVd01Uq,,Ic-E1"Y&qi
>hX29BjffkX0aXdmeb'q9f2GYXXdkjemGk2fdEfb`hkqPQPl-e"3+S,VYY,Lmm[mZ
>
>2) Downloaded HQX file from Windows:
>SIT!  brLauS  TeachText<  dzj W
> APPLttxt! <u@<u@ C bU &
> x$\t`9<̳<nͫ5좽 :-lm7Xmlrv=
>lNz?m,7f5.m./<ˎ !9H d
><rq
>A"W9oP(*2:-

This looks like a resource fork (note the SIT! at the beginning).

>I'm puzzled, but miraculously, Win version still can be decompressed to
>TeachText but just no TeachText.sit..... Comparing the filesize: the one
>downloaded from Mac is: 34991 byte; the one from Win: 25307 byte. The
>missing part is probably critical to create .sit version from hqx file.

If the Win files size is smaller, that suggests to me that when you
download the .hqx on the Mac it stays an .hqx but on the PC the .hqx is
getting decoded, presumably to .sit regarless of what the filename
extension says.

-- 
Curtis Wilcox     cwcx@uhura.cc.rochester.edu
Desktop Systems Consultant       716/274-1160
Eastman School of Music       Pager: x12-3290

* Windows-MacOS Cooperation List * * FAQ: <http://www.darryl.com/winmacfaq/> * * Archives: <http://www.darryl.com/winmac/> * * Subscribe: <mailto:winmac-on@xerxes.frit.utexas.edu> * * Subscribe Digest: <mailto:winmac-digest@xerxes.frit.utexas.edu> * * Unsubscribe: <mailto:winmac-off@xerxes.frit.utexas.edu> *



This archive was generated by hypermail 2.0b2 on Thu Jul 30 1998 - 14:34:33 PDT