misc/157499: fetch confused me with it's error message
Jaakko Heinonen
jh at FreeBSD.org
Thu Jun 2 08:10:03 UTC 2011
The following reply was made to PR misc/157499; it has been noted by GNATS.
From: Jaakko Heinonen <jh at FreeBSD.org>
To: Konstantin <konstantin.malov at kaspersky.com>
Cc: bug-followup at FreeBSD.org
Subject: Re: misc/157499: fetch confused me with it's error message
Date: Thu, 2 Jun 2011 11:01:22 +0300
On 2011-06-01, Konstantin wrote:
> I have found out some strange error handling in /usr/bin/fetch.
> Here it is:
>
> # fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz
> fetch: ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz: Syntax error, command unrecognized
> >>> USER anonymous
> <<< 331 Please specify the password.
> >>> PASS root at h-ksn-hkg-fe-2.kaspersky-labs.com
> <<< 500 OOPS: cannot change directory:/home/ftp
> fetch: ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz: Syntax error, command unrecognized
This is how reply code 500 is defined in RFC 959:
500 Syntax error, command unrecognized.
This may include errors such as command line too long.
--
Jaakko
More information about the freebsd-bugs
mailing list