summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
AgeCommit message (Collapse)Author
1998-07-07fd_set is not a structArtur Grabowski
1998-06-12make -o semantics obviousDavid Leonard
1998-06-08use endptr in a strtl()Todd C. Miller
1998-06-08Fix some problems noted by lukem@netbsd.orgTodd C. Miller
o getopt string is wrong in main(); (missing : after P) o use of vprintf(...) instead of vfprintf(ttyout,...) in ftp.c::command() o missing \n in fputs in cmds.c::status() o should use strtol() instead of atol() o sometimes use 'NULL' instead of 'NUL' (in comments)
1998-05-13oopsTheo de Raadt
1998-05-13try other h_addr_list addresses when connecting, and handle EINTRTheo de Raadt
1998-05-13handle EINTRTheo de Raadt
1998-05-13make signal handlers save/restore errnoTheo de Raadt
1998-04-26recommended fix from tri@iki.fi...Theo de Raadt
1998-04-13To change output, we use -o. Noted by David Leonard <leonard@csee.uq.edu.au>Todd C. Miller
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1998-03-26pass host name with GET request so servers hosting multiple virtualMarco S Hyman
hosts know to which host the given path applies
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.
1998-02-10Fix buffer overflows in quote1(), clear line bufferTobias Weingartner
before use. Hopefully, this is the last of the PR# 406 stuff that this will need.
1998-02-08Apply fix for PR# 406. Thanks toTobias Weingartner
Motomichi Matsuzaki (mzaki@e-mail.ne.jp) for the fix.
1997-12-17By default, use passive mode and fall back to active as needed.Todd C. Miller
The user can specify active only with the -A flag, or use the new FTPMODE envariable.
1997-11-25prompting error; pr#352, blair@nac.netTheo de Raadt
1997-10-02Fix CFLAGS in SOCKS case, and automatically use USE_SOCKS to compile socks inimp
1997-10-02Add prototype for fclose in socks case so we compile -DSOCKSimp
1997-09-22socks5 supportTodd C. Miller
1997-09-21$OpenBSD$Theo de Raadt
1997-09-15Don't error out if the remote server doesn't support the "MDTM"Todd C. Miller
command. Based on a patch from Martin Fredriksson <martin@netman.se>.
1997-09-11- Move `parsed_url' label such that the next statement after the label isTodd C. Miller
not an "else" (which some strict compilers reject). - If getlogin() fails fall back on getpwuid(getuid()).
1997-09-10Die union wait die!Todd C. Miller
1997-09-05Add commented out support for building with socks5.Todd C. Miller
1997-09-05getc() -> fgetc() for easy socksification. imp@openbsd.orgTodd C. Miller
1997-09-04mention $TMPDIR in man pageTodd C. Miller
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-08-30s/toinitiate/to initiate/kstailey
1997-08-25dumb fix for dumb users-- ftp's mget now idiot-proofs input!jkatz
1997-08-06proper msgs display w/ -rMichael Shalayeff
1997-07-25Updates from NetBSD (lukem) include -Wall cleanup.Todd C. Miller
More -W* cleanup and in_port_t usage by me.
1997-07-24no content-length is OK; cato@ulysses.df.lth.seTheo de Raadt
1997-06-17(foo *)NULL -> NULLkstailey
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-06-01fix emacs batch download problem, i thinkTheo de Raadt
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