peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
billf
4822432874
Clean up some ambiguous nested if/elses.
1999-07-04 17:26:16 +00:00
des
1e1f8ed63c
Reverse the FTP_PASSIVE_MODE check, so it checks for "is not NO" rather
...
than "is YES".
1999-07-03 10:10:50 +00:00
ru
0624def54d
Document that FTP_PASSIVE_MODE should be explicitly
...
set to `YES' for passive mode to be used by default.
Just setting FTP_PASSIVE_MODE is not sufficient, as
it was before.
Noted by: eivind
Reviewed by: des
1999-07-01 14:32:07 +00:00
kris
ed6a966fc1
retreived -> retrieved
...
Obtained from: OpenBSD
1999-06-30 12:53:06 +00:00
ru
d321f9c4e4
- add "-s src_addr" option to allow setting of the source IP address;
...
- fix two minor bugs;
- slightly cleanup manpage.
1999-06-25 14:11:16 +00:00
des
53320672a0
Separate the pftp and FTP_PASSIVE_MODE tests so gate mode works again.
...
PR: bin/12070
Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
Specifically check that FTP_PASSIVE_MODE is set to YES, rather than
just checking if it is defined.
Discussed on: freebsd-current
1999-06-07 16:35:15 +00:00
eivind
0e52448bcc
Better error checking.
1998-12-09 20:49:20 +00:00
imp
573de313c0
fd_set is documented to be a typedef, not a struct. Conform more
...
closely to the documented interface.
Inspired-by: similar changes in OpenBSD
1998-07-26 18:49:36 +00:00
jmz
769444bdb4
'remaining' must be declared off_t instead of int to avoid FPE when the size of
...
the file to transfer is very large (577985293894855484 bytes in the case I
encountered, but this was a buggy ftp server :-))
1998-07-19 00:01:24 +00:00
imp
8c96be00ef
Don't assume that hp->h_lenght == 4. Be conservative in its use.
...
Submitted by: J. Assange a long time ago.
1998-06-09 04:31:02 +00:00
steve
94eab23215
Fix a few minor typos and style nits.
...
PR: 5883
Submitted by: hnokubi@yyy.or.jp
1998-03-01 18:58:03 +00:00
steve
70962efd65
Cleanup code so that long lines to be quoted don't get truncated.
...
PR: 5679
Reviewed by: Bruce Evans <bde@zeta.org.au>
1998-02-14 15:38:29 +00:00
pst
4b6990082a
Don't print garbage when user enters EOF at name prompt.
...
PR: 5565
Submitted by: Jens Schweikhardt
1998-02-03 20:53:25 +00:00
msmith
66b7c3e2e0
Revert to previous behaviour, only generate NLST for explicit "nlist"
...
command.
Submitted by: wollman
1998-01-09 13:45:11 +00:00
ache
1d90974832
One more ctype cast
1997-12-16 08:58:15 +00:00
ache
57d8708b90
Add more (unsigned char) casts to ctype macros
1997-12-16 08:22:37 +00:00
ache
126c5b1358
Add (unsigned char) cast to ctype macro
1997-12-16 08:17:26 +00:00
pst
5ff5a36e72
Sync with NetBSD v1.3.
...
Keep I8N1 and quarantine port code. Replace our security fix with NetBSD's
(their idea was better).
1997-12-13 20:38:21 +00:00
roberto
f950ecfd86
Mention pftp as an alternative command to enable passive mode.
1997-12-08 22:09:44 +00:00
guido
55205429c1
Style fix.
...
Complaint by: Bruce
1997-11-19 18:57:49 +00:00
guido
d692b6bcbf
Make sure you do not get unexpected surprises whena remote file starts with '|'.
...
Reviewed by: Joerg Wunsch
1997-11-17 19:29:16 +00:00
jkh
418d0a6a92
Changes to support full make parallelism (-j<n>) in the world
...
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
nate
469430223c
- Changed default PAGER from 'less' to 'more', since we don't have less
...
in the base system.
PR: bin/4471
Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
1997-09-05 04:24:22 +00:00
ache
404cec1eb8
Replace hand-made tolower conversions with real tolower from ctype
1997-06-27 10:21:22 +00:00
ache
ca7a350053
Protect isspace by isascii to not count high spaces
1997-06-27 10:09:50 +00:00
ache
13eedc9f63
Activate collate to sort local files properly for completion
1997-06-27 09:38:07 +00:00
ache
fae8900137
Localize it (ctype)
...
8bit ctype clean fixes
(I can't input 8bit chars otherwise in this new ftp, it beeps)
1997-06-27 09:30:15 +00:00
msmith
89334bc82c
Import substantial improvements to ftp(1) from NetBSD, largely the
...
work of Luke Mewburn.
This includes, but is not limited to :
- commandline editing and history.
- local and remote filename completion.
- a new progress display.
- the ability to access files using either the ftp or http protocols,
and use http proxies for ftp transfers.
The FreeeBSD "restricted ports" functionality was preserved.
Obtained from: NetBSD
1997-06-25 08:56:46 +00:00
dg
a5d7fa9daa
Meg -> Mbytes
...
PR: 3829
Submitted by: Josh Gilliam <josh@quick.net>
1997-06-10 12:49:17 +00:00
imp
141381e1cb
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
imp
e5d10bdc2e
Buffer overflow from Keith Bostic.
...
Obtained from: BSDi by way of Keith Bostic
1997-03-24 05:51:59 +00:00
imp
2e50250737
Fix problem in ftp and case mapping mode where the converted string wasn't
...
terminated properly. Fix is from the PR and works for the test cases I
threw at it. Should be safe and desirable for back porting to 2.2 or
earlier if there are people still comitting to -stable.
Submitted by: Marc Slemko <marcs@znep.com>
Closes PR: 1864
1996-12-17 17:59:40 +00:00
jkh
268001fc69
Apply a long-forgotten change to make FTP_PASSIVE_MODE just that
...
much more universal (in FreeBSD, anyway) in taking some of the pain
out of firewalls.
1996-11-02 18:18:38 +00:00
phk
5f8eb47742
Make "ftp" a synonym for "open"
1996-09-19 08:16:47 +00:00
phk
a283f65a08
Fix a couple of file-descriptor leaks.
1996-08-23 09:33:32 +00:00
pst
93cb831554
1. Remove SOCKS support (unneded with SOCKS v5 port)
...
2. Update quarantine port support to use new kernel mechanism.
1996-05-30 03:08:17 +00:00
scrappy
0ec1a91c8d
Changed printf for reporting transfer stats from using %.2g to %.2f to
...
get rid of "scientific notation" reporting (PR#bin/329)
Added a switch so that if bytes/sec > 1Meg/sec, report in Meg/sec instead
of Kbytes/sec
1996-05-26 21:12:50 +00:00
pst
d73d5ee489
Add support for socks
1996-04-23 05:18:43 +00:00
mpp
511d4f82b2
Fix a bunch of spelling errors in a bunch of man pages.
1996-01-30 13:52:50 +00:00
pst
0e79ca4d90
Use data ports in the range 40000..44999 by default to enhance FTP usability
...
in a firewall environment. Original idea by Mark Tracy (?).
Reviewed by: wollman
Submitted by: pst
1995-08-05 19:12:05 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
phk
92bb6593c4
Use port 21 as default if getservbyname fails to find it for us. This let
...
us remove some crud from the install-procedure.
1995-04-20 05:38:58 +00:00
bde
5ab11f181a
Fix checking of directory access for "/foo". The parent directory is
...
"/", not "".
1995-02-16 11:42:36 +00:00
pst
bc1378c899
Add -p flag and pftp alias for passive ftp
1994-09-29 20:55:25 +00:00
swallace
2cfc98498c
Declare fuction setpassive in file cmds.c void and update corresponding
...
prototype declaration in extern.h.
1994-09-18 05:45:29 +00:00
dg
02c768e8ae
Kludge to workaround ftp coredumping when password is specified before
...
login in .netrc.
Submitted by: John Kohl
1994-09-18 04:09:28 +00:00
pst
019579bbf9
Add support for passive mode FTP (default off) to base FTP client to support
...
users behind packet filtering firewalls.
Obtained from: David Carrel <carrel@cisco.com>
1994-09-15 19:45:43 +00:00
dg
91977ea9d1
Fixed stupid bug which prevented any command line options from being
...
understood.
Submitted by: Uwe Arndt (arndt@mailhost.uni-koblenz.de )
1994-08-31 17:20:12 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00