home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!umn.edu!umeecs!nova!ellis
- From: ellis@nova.gmi.edu (Stew Ellis)
- Subject: Re: .netrc entry for default ftp connects
- Message-ID: <ellis.716557807@nova>
- Keywords: ftp netrc
- Sender: news@zip.eecs.umich.edu (Mr. News)
- Organization: GMI Engineering&Management Institute, Flint, MI
- References: <1992Sep12.184012.2519@lambda.msfc.nasa.gov> <1992Sep12.215444.9640@bradley.bradley.edu> <smr.716471679@hitkw14>
- Date: Tue, 15 Sep 1992 11:50:07 GMT
- Lines: 58
-
- smr@hitkw14.pki-nbg.philips.de (S.Riehm) writes:
-
- >guru@camelot.bradley.edu (Jerry Whelan) writes:
-
- >>In article <1992Sep12.184012.2519@lambda.msfc.nasa.gov> thigpen@lambda.msfc.nasa.gov (Keith Thigpen) writes:
- >>-} .netrc works fine if I specify the machine that I want to contact. Often, tho,
- >>-} I want to jump out on the net and use anonymous ftp.
-
- >>Well, then use this script (suitably modified for your situation) in
- >>place of ftp:
-
- >[script deleted]
-
- >eek! that script adds a line to the end of your .netrc file every time
- >you ftp somewhere... why don't you just read the man page to get the
- >answer...
-
- >---
- >netrc(4)
-
- > default This is the same as 'machine name' except that
- > default matches any name. There can be only
- > one default token, and it must be after all
- > machine tokens. This is normally used for
- > ftp as follows:
-
- > default login anonymous password user@site
-
- > This provides automatic anonymous FTP login
- > to machines not specified in .netrc. This
- > can be overridden in ftp by using the -n flag
- > to disable auto-login.
- >---
-
- >need I say more?
-
- >catchya
-
- >-----------------------------------------------------------------
- >Stephen Riehm Configuration Management _-_|\
- >smr@pki-nbg.philips.de Philips Kommunikations Industrie / \
- >Work: +49 911 526 2975 N|rnberg, Germany \_.-.*/
- >Fax: +49 911 526 2095 "I was there, now I am here!" v
- >"My company speaks another language, I CAN'T speak on it's behalf"
-
- Do you actually use this? What hardware and OS version? I just replaced my
- .netrc file with one having only the default line such as above and tried
- two well-known sites, oak.oakland.edu and export.lcs.mit.edu. It did not
- work with either one.
-
- I just read my man page (SunOS 4.1.2) and there is no mention of any of this
- about default.
-
- --
- -- ___________________
- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 / _____ ______
- Humanities & Social Science, GMI Eng.& Mgmt. Inst. / / / / / /
- Flint, MI 48504 ellis@nova.gmi.edu /________/ / / / /
-