summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/util.c
AgeCommit message (Expand)Author
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-31* Work around broken ftp servers (notably ProFTPd) that can't even followlukem
2003-06-15Don't coredump when printing '%n' in the prompt if there's no username yet.lukem
2003-02-28crank dateslukem
2003-01-21Abstract out progress bar support into progressbar.[ch], for inclusionjhawk
2002-08-27Add a -q <quit-time> flag to abort a transfer if it has stalled for <quit-time>christos
2002-06-08make an auto const variable static.yamt
2002-06-05- when showing the final progress bar, replace "00:00 ETA" with thelukem
2001-12-26update copyrightslukem
2001-02-19convert to use getprogname()cgd
2001-02-19- display a limited progress bar (containing bytes xferred and xfer rate)lukem
2000-11-15- implement "mreget"; as per "mget" but uses "reget" instead of "get"lukem
2000-09-08always include <netdb.h>, not just when INET6 is defined.lukem
2000-08-27- in progressmeter() perform the check for foregroundproc() a little earlierlukem
2000-08-06* implement parseport(), which takes a string and attempts to convertlukem
2000-08-01- rename NO_QUAD to NO_LONG_LONG, QUAD* -> LL* and add ULL* (unsigned)lukem
2000-07-30clean up NO_QUAD support: create helper #defines and use as appropriate:lukem
2000-07-18add support for FEAT and OPTS commands with `features' and `opts'.lukem
2000-06-15* migrate the SYST parsing from setpeer() into a separate remotesyst().lukem
2000-05-01convert to ANSI KNFlukem
2000-05-01* Add support for `fget localfile', which reads a list of filenames tolukem
2000-04-24allow IPv6 extended numeric address in host part.itojun
2000-04-13s/strtoq/strtoll/ (the latter is standardised)lukem
2000-01-31define private type `sigfunc' aslukem
2000-01-26roll back to using sscanf() instead of strptime() to parse `yyyymmddhhmmss'lukem
2000-01-26put spaces between the % specifiers in the strptime format stringlukem
2000-01-25be harsher about workaroundlukem
2000-01-25work around lame ftpd's that don't return a correct post-Y2K date inlukem
1999-12-03fix memory leak in fetch_url (no freeaddrinfo was there).itojun
1999-11-28* implement xsl_init() and xsl_add(); error checking forms of sl_{init,add}()lukem
1999-11-27in cleanuppeer(), reset username to NULL after free()ing it.lukem
1999-11-26* complete_remote(): use remglob("", ...) instead of remglob(".", ...),lukem
1999-11-12- implement `set rprompt'; right side version of `set prompt'. depends onlukem
1999-11-11- implement updateremotepwd(); update the global variable `remotepwd'lukem
1999-11-09prevent minor memory leak (unnecessary strdup)lukem
1999-10-24new features:lukem
1999-10-13* fix up confirm() (broke `a' and `p' in last commit)lukem
1999-10-12a few user interface and cosmetic tweaks:lukem
1999-10-11* in the SIGINFO/SIGQUIT handler, print a newline before displayinglukem
1999-10-09* use sigsetjmp()/siglongjump() instead of setjmp()/longjmp(); the latterlukem
1999-10-07Minor nit - don't append a '/' to tmpdir if it already ends in a '/'.simonb
1999-10-05* factor out SIGINFO setting into a handler that is always active (but onlylukem
1999-10-05add TNFi copyright to all files i've done more than a minor amount of work to...lukem
1999-10-05enhancments from Marc Horowitz <marc@mit.edu> to improve connection timeouts:lukem
1999-10-01* don't bother with "pathnames.h"; it contained just a single #define.lukem
1999-09-30#define BUFLEFT is always used...lukem
1999-09-29* consistentnly use memset(a,0,c); there were some cases of memset(a,'\0',c)lukem
1999-09-28revert snprintf() -> sprintf(). the original idea was that sprintf() would belukem
1999-09-28don't fudge out the stalltime when calculating the ETA. this means that thelukem
1999-09-28* add new commands:lukem