[comp.sys.mac] file transfer using Hayes 2400

bmwu@athena.mit.edu (Benson M. Wu) (01/26/90)

----------------------------------------------
I need some help with file transfer between a Unix mainframe and my mac.  

On my mac IIcx, I have a Hayes 2400 internal modem, running the smartmodem software that
came with the modem which uses xmodem protocol I believe.
On the unix machine, I found that there is kermit and sx (for xmodem protocol).

The first time, I tried to send file from unix using kermit and receive it on my mac using
the smartmodem software (xmodem protocol).  It didn't work.
so, I ran "apropos xmodem" on the unix machine and found the sx command and the -k option which
allows you to ransfer 1024 b per block to speed up the file transfer rate.  It seems to work
this time.  However, I ran into difficulty when I tried to unbinhex these files.

Examining the preference section of my smartmodem software, I found that I need to set the
file type.  I think that may be my problem.  I would like to hear from the smartmodem users
out there in the world to find out what settings they use.

While on the subject of file transfer, I might as well ask a couple of additional questions.
I have unbinhex files many times.  sometimes, I ran into CRC errors, Checksum erros, or EOF
errors.  Is there anyway to fix these errors? or am I doomed because these files are already
corrupt and I would be better off to find another ftp sites to download these files.  
Secondly, I wonder if there is a macro around that allows me to unbinhex and unstuff many files 
automatically instead of having to do them one by one.  Is there a copy of the binhex source
code around that I can play around with to make it willing to process more than 1 file at a
time?  

Please reply by e-mail to me at bmwu@athena.mit.edu. Thanks in advance for replying.  
If there is sufficient interest, I will post a summary of the replies.