home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!umn.edu!csus.edu!netcom.com!howard
- From: howard@netcom.com (Howard Berkey)
- Subject: Re: GUSI.sit.bin
- Message-ID: <1993Jan12.052113.12118@netcom.com>
- Organization: Netcom Online Communications Services (408-241-9760 login: guest)
- References: <1993Jan12.004136.3142@dtint.uucp>
- Date: Tue, 12 Jan 1993 05:21:13 GMT
- Lines: 52
-
- In article <1993Jan12.004136.3142@dtint.uucp> tom@dtint.uucp (Thomas R. Kimpton) writes:
- >
- >I ftp-ed to nic.switch.ch last week and got GUSI_10.sit.bin.
- >Am I correct in assuming that the .bin means it is a
- >MacBinary file? I tried everything I could think of to
- >convert this file, but to no avail. The MacBinary converter
- >in StuffIt failed with an eof error. Has anyone else
- >downloaded this and gotten it converted? Could you tell
- >me what you did?
- >
-
- This is funny, it ties in to a stupid thread I started last week,
- about why binhex is around.
- What you need to do when ftp'ing non-binhexed or uuencoded binary
- files is make sure that the ftp transfer mode is set to BINARY. The
- default is (usually) ASCII. If I remember, you do this by typing
- 'type binary' or maybe just 'binary'. I have a .netrc which does all
- this for me at most archives so I don't recall which is correct.
-
- .netrc files are a real timesaver if you do a lot of ftp'ing...
- they are text files in the following format: (sub your login for mine
- below and you get the idea...)
-
- machine ftp.apple.com login anonymous password howard@netcom.com
- macdef init
- type ascii
- cd /dts
-
- machine ftp.funet.fi login anonymous password howard@netcom.com
- macdef init
- type binary
- cd /pub/mac
-
- [...]
-
- Basically when you ftp a site, ftp looks in your .netrc and if it finds
- the machine it logs you in automatically, and executes the commands after the
- machine line. Entries must be separated by a blank line. Permissions
- must be set u=rw (i.e. chmod u=rw .netrc).
-
- There is a public .netrc file for mac ftping floating around somewhere
- (that's where I got mine) with many many sites in it. I can't
- remember the author otherwise I'd give credit. In any case, I'll post
- an edited version of mine after this post. It's got wuite a few sites
- in it.
-
- -Howard
- --
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- Howard Berkey howard@netcom.com
- "These check boxes actually function as check boxes." - from a SW spec
- ... .. ... ... .. ... ... .. ... ... .. ... ... .. ... ... .. ...
-