| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
of reason why it is processing a certain file. This will be used by the
installer for that purpose.
ok krw rpe
|
|
|
|
|
|
|
|
|
| |
- if a remote file by the name '-' is retrieved, that does not imply
it should go to standard output...
- make -o '' reset any previous -o action
- properly handle multiple -o 's
ok phessler@
|
|
|
|
|
| |
gcc4 gets upset about.
based on suggestions from miod@, ok millert@
|
|
|
|
|
|
| |
small stuff. make it a fetcher. shrinks quite a bit
agreed by millert@, krw@
ok theo, sthen@
|
|
|
|
|
|
| |
some space
discussed with theo, todd@, millert@
tested and looked over by sthen@
|
|
|
|
|
| |
-T and just show titles by default for non-verbose transfers;
discussed with, ok theo, sthen@
|
|
|
|
| |
show which filename is being used. ok krw, mdoc repair from jmc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'mget -cr 4.*' would recursively fetch (-r), and resume the previous
transfers (-c) of 4.X release directories
uses local matching (fnmatch), but only for recursive transfers.
current behavior is not changed in any way.
- while here, ifndef SMALL debugging stuff, this saves some space,
for floppies
- some debugging code was enabled for non-debugging mode, checks
assume debug is set to zero, but it's not initially set
- all "Confirm with" prompts are forced, remove redundant argument
- fix usage: -C and -c are not available for SMALL
discussed a year ago w/ pyr@
looks good to millert@
previous version looked good to pyr@
man page tweaks & ok jmc@
|
|
|
|
|
|
| |
able to continue multiple transfers with -C; ok millert@
while here fix some comments (!SMALL vs. SMALL stuff), and add
missing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use argv[0] for "Confirm with", as other confirm()s do
- fix confirm cases, pass force=1 for mdelete and mabort too, fixes
a bug when you end up deleting all files when you ^C, instead of
getting a confirmation
- add reput command, that will allow to continue transfer uploads
- add -c for mget and mput, that will allow to continue multiple
transfers
- fix a bug when you use restart command together with put. the
progressmeter would start from zero, and eta would show fictional
time. this actually allows reput/put -c to have correct progressmeter
too
- document everything
discussed with, suggestions, reminded to ifdef SMALL the code so
we're able to fit in floppies, and ok millert@, and jmc@
|
|
|
|
|
| |
confirm() to have a 'force' argument, so that ointer/oconf dance
is not needed, and to prevent further bugs like this; ok millert@
|
|
|
|
|
|
|
|
|
| |
connection. The FTP protocol provides us with a NOOP operation that
is perfectly suitable for that, and so far servers are happy with it.
Sending the command slowly is an idea I borrowed from spamd.
No change for people not using the option, so it can't break normal ftp.
okay beck@, jmc@
|
|
|
|
|
|
|
| |
and sending of appropriate cookies. No retrieval of new cookies is done.
Careful review and lots of input by millert and ray.
ok millert@, ray@
|
|
|
|
|
|
| |
there is no .netrc file on the install media and keeping the parser
shaves a good deal of bytes in the binary.
ok millert@, "go on" deraadt@, "makes sense" steven@
|
|
|
|
| |
ok millert@ deraadt@, prodding by david@
|
| |
|
|
|
|
| |
real poll(). Gets rid of another static select(). OK deraadt@
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
automagicaslly disable epsv on ipv4, if epsv fails for single connection.
merge from netbsd-current.
req from fgs.
|
| |
|
| |
|
|
|
|
|
| |
"-" 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
More -W* cleanup and in_port_t usage by me.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
Always compile complete.c but ifdef out the bits if -DSMALL (christos)
reset interactive mode correctly in auto_fetch() mget mode (lukem)
|
|
|
|
| |
and setting times.
|
|
|
|
|
|
|
|
| |
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').
|
|
|
|
| |
I'm anal. Closer to KNF now.
|
| |
|
| |
|
|
|
|
| |
assume empty pathname means cd to '/', like ncftp (?).
|
|
|
|
|
| |
and other scripts. written by brian@saturn.net (and then i clawed at it for
a bit..)
|
| |
|
|
|