home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21254 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.5 KB  |  63 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!umn.edu!csus.edu!netcom.com!howard
  3. From: howard@netcom.com (Howard Berkey)
  4. Subject: Re: GUSI.sit.bin
  5. Message-ID: <1993Jan12.052113.12118@netcom.com>
  6. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  7. References: <1993Jan12.004136.3142@dtint.uucp>
  8. Date: Tue, 12 Jan 1993 05:21:13 GMT
  9. Lines: 52
  10.  
  11. In article <1993Jan12.004136.3142@dtint.uucp> tom@dtint.uucp (Thomas R. Kimpton) writes:
  12. >
  13. >I ftp-ed to nic.switch.ch last week and got GUSI_10.sit.bin.
  14. >Am I correct in assuming that the .bin means it is a
  15. >MacBinary file?  I tried everything I could think of to
  16. >convert this file, but to no avail.  The MacBinary converter
  17. >in StuffIt failed with an eof error.  Has anyone else
  18. >downloaded this and gotten it converted?  Could you tell
  19. >me what you did?
  20. >
  21.  
  22. This is funny, it ties in to a stupid thread I started last week,
  23. about why binhex is around.  
  24. What you need to do when ftp'ing non-binhexed or uuencoded binary
  25. files is make sure that the ftp transfer mode is set to BINARY.  The
  26. default is (usually) ASCII.  If I remember, you do this by typing
  27. 'type binary' or maybe just 'binary'.  I have a .netrc which does all
  28. this for me at most archives so I don't recall which is correct.
  29.  
  30. .netrc files are a real timesaver if you do a lot of ftp'ing...
  31. they are text files in the following format: (sub your login for mine
  32. below and you get the idea...)
  33.  
  34. machine ftp.apple.com login anonymous password howard@netcom.com
  35.         macdef init
  36.         type ascii
  37.         cd /dts
  38.  
  39. machine ftp.funet.fi login anonymous password howard@netcom.com
  40.         macdef init
  41.         type binary
  42.         cd /pub/mac
  43.  
  44. [...]
  45.  
  46. Basically when you ftp a site, ftp looks in your .netrc and if it finds
  47. the machine it logs you in automatically, and executes the commands after the
  48. machine line.  Entries must be separated by a blank line.  Permissions
  49. must be set u=rw (i.e. chmod u=rw .netrc).
  50.  
  51. There is a public .netrc file for mac ftping floating around somewhere
  52. (that's where I got mine) with many many sites in it.  I can't
  53. remember the author otherwise I'd give credit.  In any case, I'll post
  54. an edited version of mine after this post.  It's got wuite a few sites
  55. in it.
  56.  
  57. -Howard
  58. -- 
  59. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  60. Howard Berkey                                          howard@netcom.com
  61. "These check boxes actually function as check boxes." - from a SW spec
  62. ... .. ...   ... .. ...   ... .. ...    ... .. ...   ... .. ...   ... .. ...
  63.