summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
AgeCommit message (Collapse)Author
1997-05-19Make ftp ftp://anonymous:root@your.dom.ain@ftp.our.place.foo/pub/OpenBSD/Todd C. Miller
work. Needed for install scripts to work. I didn't run into this as I was installing from a non-anonymous account.
1997-05-11Only retry login as "anonymous" if we are doing anonftp.Todd C. Miller
Found by grr@openbsd.org.
1997-05-05This fixes FTP so that it first tries with the username FTP, and then withjkatz
the username ANONYMOUS. It works, too :-)
1997-04-28From NetBSD (lukem):Todd C. Miller
Cleanup parser of ftp://[user:pass@]host[:port]/[dir/][file Should be more robust now. Fixes NetBSD PR #3520.
1997-04-28Deal with $TERM not being set (like in single user mode).Todd C. Miller
1997-04-23allow "ftp -aV ftp://host/foo.tar.gz | tar xvfpz -" to workTheo de Raadt
1997-04-18Fix problem when fetching files with -a.Todd C. Miller
1997-04-16Sync with NetBSD (lukem):Todd C. Miller
* differentiate between being connected, and being logged in * cleanup some text messages * support username & password ftp URLs (ftp://user:pass@host/) in non-proxy situations; assume proxy supports it for proxy situations. * cd to / before performing any autofetch transfers
1997-04-14URL specifiers are case insensitive. Noticed by Theo.Todd C. Miller
1997-04-11emacs is dumb too--the $TERM entry that is.Todd C. Miller
1997-04-10Sync with NetBSD (lukem)Todd C. Miller
* support $ftp_proxy for ftp:// transfers [bin/3245] * add "more" & "less" as synonyms for "page" * move editline setup code into controlediting(), and call appropriately. only setup setup terminal if going into interactive mode.
1997-04-05if TERM=dumb disable progress and editing for emacs ange-ftpkstailey
1997-04-01Disable editing when in batch mode. Idea from Theo.Todd C. Miller
This makes ``ftp ftp://some.place.com/some/file &'' work.
1997-03-26no libcrypt, fix DPADDTheo de Raadt
1997-03-21Add in recent NetBSD changes we didn't already have:Todd C. Miller
Always compile complete.c but ifdef out the bits if -DSMALL (christos) reset interactive mode correctly in auto_fetch() mget mode (lukem)
1997-03-14Add missing line, doh!Todd C. Miller
1997-03-14Correct usage of S_IFREG.Todd C. Miller
1997-03-14Fix problem where tty mode could get clobbered when ftp was suspended.Todd C. Miller
Call el_parse() to catch editrc(5) commands if the command is not known to ftp. Thorsten did all the real work for this :-)
1997-03-14Change an occurrence of if (fromatty) -> if (edit) -- from Thorsten.Todd C. Miller
1997-03-14Sync with NetBSD and fix "get foo.txt /dev/tty" wrt progress meterTodd C. Miller
and setting times.
1997-02-18add -e command line option to suppress use of editline(3)\kstailey
this is useful for Emacs ange-ftp
1997-02-05Include signal.h where reasonable and make signal handlers matchTodd C. Miller
what signal(3)'s prototype says (and cast when not). Also change MAXFOO+1 -> MAXFOO since MAXFOO includes the NULL. Support $TMPDIR and use utime(3) not utimes(2) for portability's sake. Don't spew "Passive mode enabled/disabled" unless verbose (this means togglevar() needs to watch for a NULL 'message').
1997-02-03subsumed by fetch.cTodd C. Miller
1997-02-03Turn off progress bar by default as it interacts poorly withTodd C. Miller
"get FILE /dev/tty" and "get FILE |pager" among others.
1997-02-03Add back ``-r'' option and fix strncpy() usage and other nits becauseTodd C. Miller
I'm anal. Closer to KNF now.
1997-02-03Sync with NetBSDTodd C. Miller
1997-01-29Break out of infinite loop ftp://home.host/som/path mode if hostTodd C. Miller
does not exist. Also, use herror, not perror if gethostbynam() fails.
1997-01-29only print passive toggle info is verbose set (like other commands)Todd C. Miller
1997-01-28getcwd() not getwd()Todd C. Miller
1997-01-25split cd() into two pieces, whoever was here last did a bad jobTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1997-01-09HTTP fetches would always loop indefinitelyNiklas Hallqvist
1997-01-08"Too much paranoia" + fake domain in anonftp password as some stupid sitesNiklas Hallqvist
requires it to at least look sensible.
1997-01-07some strlen(constant) -> sizeof(ditto) - 1, plus make ftp://host/path workNiklas Hallqvist
1997-01-07Return exit status != 0 if any transfers fail in the commandlineNiklas Hallqvist
specified file fetch mode. Makes backup locations in the ports system work.
1996-12-24do not need umask fiddlingTheo de Raadt
1996-12-24use mkstemp insteadTheo de Raadt
1996-12-18support getting multiple files at once, e.gmichaels
"ftp host:pub/tst/test /pub/tst/test2 /pub/tst" will get files "test", then "test2" and then the cd to "pub/tst" on the same host and become interactive without closing/reopening connection each time. (needs leading '/' on every path but the first, as the rest are relative to the first. (a feauture, really))
1996-12-17if pathname given is a valid directory, cd to it at remote, alsomichaels
assume empty pathname means cd to '/', like ncftp (?).
1996-12-16strncat botchTheo de Raadt
1996-12-01Correct the connecthelp info. This is really ftp, not tftp.Todd C. Miller
From NetBSD (fvdl).
1996-11-09optional size argument to hash commandkstailey
1996-11-09optional size argument to hash commandkstailey
1996-11-09optional size argument to hash commandkstailey
1996-11-09optional size argument to hash commandkstailey
1996-11-09optional size argument to hash commandkstailey
1996-10-31add -r<seconds> option to retry connection.Michael Shalayeff
dunno how to do optional argument.
1996-10-28Safe $HOME usage.Todd C. Miller
1996-09-28the LIST carried out by mget in remglob() no longer follows symbolic linksbitblt
on its temporary file.
1996-09-16_PATH_TMP -> _PATH_TMPFILE; avoid /tmp//fooXXXX where possible tooTheo de Raadt