summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/extern.h
AgeCommit message (Collapse)Author
2004-09-16type corrections and other delintingTheo de Raadt
2003-08-11The empty() function basically effects a poll, so replace it withTodd C. Miller
real poll(). Gets rid of another static select(). OK deraadt@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-11-08http redirect support; adapted from NetBSD.Federico G. Schwindt
2002-05-30-4 and -6 options; kanai@big.or.jp; itojun okTheo de Raadt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2000-06-21add epsv4 command, which turns off epsv on ipv4 (off by dfeault)Jun-ichiro itojun Hagino
automagicaslly disable epsv on ipv4, if epsv fails for single connection. merge from netbsd-current. req from fgs.
1999-12-08ftp(1) from KAME, should be good for testing.Jun-ichiro itojun Hagino
1998-07-07fd_set is not a structArtur Grabowski
1998-02-17Add a new option "-o filename" for autofetch mode. Allows use ofTodd C. Miller
"-" to mean stdout. This replaces the old (unreliable) hueristic of checking if stdout is a tty and if not make the output go to stdout.
1997-09-04Updtaes from NetBSD (lukem)Todd C. Miller
bugs fixed: * don't interpret '-' or '|' when a local filename is determined from the remote name (i.e, in mget, and in get with only one argument). This is implemented using an extra argument to recvrequest(). Fixes a major security hole. * clean up memory leak when using globulize() * clean up a couple of comments * fix wording in TNF copyright features added: * support for TIS fwtk gate-ftp servers: * read defaults from $FTPSERVER && $FTPSERVERPORT * start in gate-ftp mode if invoked as 'gate-ftp' * toggle or set with 'gate [host [port]]' Other changes: * use symbolic flags in access(2) * Use USHRT_MAX, not 0xffff
1997-07-25Updates from NetBSD (lukem) include -Wall cleanup.Todd C. Miller
More -W* cleanup and in_port_t usage by me.
1997-06-10Disable progress meter if started as a bg process. Also don'tTodd C. Miller
print the progress meter if the ftp process is put in the bg (but do print it when/if the process is foregrounded). From Enami Tsugutomo <enami@ba2.so-net.or.jp> with tweaks by me.
1997-04-23allow "ftp -aV ftp://host/foo.tar.gz | tar xvfpz -" to workTheo de Raadt
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-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-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-14Sync with NetBSD and fix "get foo.txt /dev/tty" wrt progress meterTodd C. Miller
and setting times.
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-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-25split cd() into two pieces, whoever was here last did a bad jobTheo de Raadt
1996-12-17if pathname given is a valid directory, cd to it at remote, alsomichaels
assume empty pathname means cd to '/', like ncftp (?).
1996-09-03http:// support for the command line fetches; useful for the ports subsystemTheo de Raadt
and other scripts. written by brian@saturn.net (and then i clawed at it for a bit..)
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt