summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix parsing problems.shin2000-02-122-3/+31
| | | | | | | | -"ftp hostname:/path" was not working. - IPv6 raw addr specification was not well supported, such as, "ftp http://\[1:2:3:4:5:6:7:8:\]/index.html" Approved by: jkh
* Fix several bogus bugsshin2000-02-123-5/+10
| | | | | | | -Some address resolving related structures were not freed after use. -Some error messages were not printed out correctly. Approved by: jkh
* Let ftp command use only PORT(no EPRT) for IPv4 destination.shin2000-02-091-1/+0
| | | | | | | | | Because if ftpd is invoked with -R option, and EPRT is used via firewal or NAT which don't understand EPRT, then the data connection from ftpd to ftp client will fail. Reported By: ume@mahoroba.org Approved by: jkh
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-278-182/+463
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Revert the change from memset() to bzero(), since bzero() is simplysheldonh2000-01-201-1/+1
| | | | | | | | | | a special case of memset and we already initialize all those members of the struct tm which are required by mktime(). The memset() is only necessary for style conformity with the rest of the file. :-) Scenic route tour by: bde
* Correctly parse broken MDTM responses from servers which formatsheldonh2000-01-181-16/+36
| | | | | | | | tm_year with "19%02d". PR: 15981 Reported by: klh@netcom.com (Ken Harrenstien) Reviewed by: bde
* Remove all \n from __COPYRIGHT(...) string - assembler can't parse themache1999-09-121-2/+2
| | | | in .ident and produce warning
* $Id$ -> $FreeBSD$peter1999-08-2814-22/+22
|
* Clean up some ambiguous nested if/elses.billf1999-07-041-3/+4
|
* Reverse the FTP_PASSIVE_MODE check, so it checks for "is not NO" ratherdes1999-07-032-7/+8
| | | | than "is YES".
* Document that FTP_PASSIVE_MODE should be explicitlyru1999-07-011-2/+4
| | | | | | | | | 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
* retreived -> retrievedkris1999-06-301-3/+3
| | | | Obtained from: OpenBSD
* - add "-s src_addr" option to allow setting of the source IP address;ru1999-06-257-75/+108
| | | | | - fix two minor bugs; - slightly cleanup manpage.
* Separate the pftp and FTP_PASSIVE_MODE tests so gate mode works again.des1999-06-071-4/+7
| | | | | | | | | | 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
* Better error checking.eivind1998-12-091-3/+4
|
* fd_set is documented to be a typedef, not a struct. Conform moreimp1998-07-262-11/+9
| | | | | | closely to the documented interface. Inspired-by: similar changes in OpenBSD
* 'remaining' must be declared off_t instead of int to avoid FPE when the size ofjmz1998-07-191-4/+5
| | | | | the file to transfer is very large (577985293894855484 bytes in the case I encountered, but this was a buggy ftp server :-))
* Don't assume that hp->h_lenght == 4. Be conservative in its use.imp1998-06-091-8/+9
| | | | Submitted by: J. Assange a long time ago.
* Fix a few minor typos and style nits.steve1998-03-011-7/+7
| | | | | PR: 5883 Submitted by: hnokubi@yyy.or.jp
* Cleanup code so that long lines to be quoted don't get truncated.steve1998-02-141-13/+11
| | | | | PR: 5679 Reviewed by: Bruce Evans <bde@zeta.org.au>
* Don't print garbage when user enters EOF at name prompt.pst1998-02-031-3/+4
| | | | | PR: 5565 Submitted by: Jens Schweikhardt
* Revert to previous behaviour, only generate NLST for explicit "nlist"msmith1998-01-091-3/+3
| | | | | command. Submitted by: wollman
* One more ctype castache1997-12-161-2/+2
|
* Add more (unsigned char) casts to ctype macrosache1997-12-162-6/+6
|
* Add (unsigned char) cast to ctype macroache1997-12-161-3/+3
|
* Sync with NetBSD v1.3.pst1997-12-1314-303/+613
| | | | | Keep I8N1 and quarantine port code. Replace our security fix with NetBSD's (their idea was better).
* Mention pftp as an alternative command to enable passive mode.roberto1997-12-081-2/+10
|
* Style fix.guido1997-11-191-5/+7
| | | | Complaint by: Bruce
* Make sure you do not get unexpected surprises whena remote file starts with '|'.guido1997-11-171-2/+13
| | | | Reviewed by: Joerg Wunsch
* Changes to support full make parallelism (-j<n>) in the worldjkh1997-10-051-1/+2
| | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
* - Changed default PAGER from 'less' to 'more', since we don't have lessnate1997-09-051-2/+2
| | | | | | | in the base system. PR: bin/4471 Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
* Replace hand-made tolower conversions with real tolower from ctypeache1997-06-271-8/+6
|
* Protect isspace by isascii to not count high spacesache1997-06-272-6/+6
|
* Activate collate to sort local files properly for completionache1997-06-272-6/+6
|
* Localize it (ctype)ache1997-06-276-27/+30
| | | | | 8bit ctype clean fixes (I can't input 8bit chars otherwise in this new ftp, it beeps)
* Import substantial improvements to ftp(1) from NetBSD, largely themsmith1997-06-2514-1398/+3555
| | | | | | | | | | | | | | | | 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
* Meg -> Mbytesdg1997-06-101-1/+1
| | | | | PR: 3829 Submitted by: Josh Gilliam <josh@quick.net>
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Buffer overflow from Keith Bostic.imp1997-03-241-1/+1
| | | | Obtained from: BSDi by way of Keith Bostic
* Fix problem in ftp and case mapping mode where the converted string wasn'timp1996-12-171-0/+1
| | | | | | | | | 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
* Apply a long-forgotten change to make FTP_PASSIVE_MODE just thatjkh1996-11-021-1/+1
| | | | | much more universal (in FreeBSD, anyway) in taking some of the pain out of firewalls.
* Make "ftp" a synonym for "open"phk1996-09-191-0/+1
|
* Fix a couple of file-descriptor leaks.phk1996-08-231-0/+3
|
* 1. Remove SOCKS support (unneded with SOCKS v5 port)pst1996-05-303-61/+20
| | | | 2. Update quarantine port support to use new kernel mechanism.
* Changed printf for reporting transfer stats from using %.2g to %.2f toscrappy1996-05-261-2/+6
| | | | | | | 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
* Add support for sockspst1996-04-232-0/+11
|
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-1/+1
|
* Use data ports in the range 40000..44999 by default to enhance FTP usabilitypst1995-08-058-10/+84
| | | | | | | in a firewall environment. Original idea by Mark Tracy (?). Reviewed by: wollman Submitted by: pst
* Remove trailing whitespace.rgrimes1995-05-304-20/+20
|
* Use port 21 as default if getservbyname fails to find it for us. This letphk1995-04-201-2/+6
| | | | us remove some crud from the install-procedure.
OpenPOWER on IntegriCloud