🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.sources.d
Article #47

Re: unix ftp anonymous login patch

#47
From: Andy Linton
Date: Sun, 01 Nov 1992 23:34
30 lines
1602 bytes
In article <1992Nov1.131531.10426@cujo.curtin.edu.au>, peter@cujo.curtin.edu.au (Peter N Lewis) writes:
|> Archive-name: ftp-anon-login-patch
|> Submitted-by: peter@cujo.curtin.edu.au
|> 
|> This is a very simple patch to the ucb ftp code (I got it from
|> munnari.oz.au so it may be slightly different, but patch should figure
|> it out :-).  It adds a -a flag which automatically logs in as anonymous
|> and your login@machine name as password (the flag is also turned on, if
|> the program is invoked as 'aftp').  This was just a quick hack, it
|> worked fine for me on a SPARC2 running SunOS 4.1.2, it'll probably work
|> on most unix machines, but I haven't tested it on any others.  If it
|> works for you, good, otherwise, you're out of luck :)

Most of the time I login elsewhere as anonymous so I use a '.netrc' file with
this: 

default
login anonymous
password asjl@comp.vuw.ac.nz

If I want to connect as some other user, I just connect as:

$ ftp -n hostname

and then say:

ftp> user foobar

Seems much easier than mondifying the code on lots of machines.
Technical Details
Message-ID: <Bx29Hy.BEs@comp.vuw.ac.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!asjl
References: <1992Nov1.131531.10426@cujo.curtin.edu.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!asjl
Newsgroups: alt.sources.d
Subject: Re: unix ftp anonymous login patch
Message-ID: <Bx29Hy.BEs@comp.vuw.ac.nz>
From: Andy.Linton@comp.vuw.ac.nz (Andy Linton)
Date: Sun, 1 Nov 1992 23:34:44 GMT
Sender: news@comp.vuw.ac.nz (News Admin)
References: <1992Nov1.131531.10426@cujo.curtin.edu.au>
Organization: Computer Science, Victoria University, Wellington, NEW ZEALAND
Nntp-Posting-Host: bats.comp.vuw.ac.nz
Lines: 31