Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 1998 12:26:24 -0400 (EDT)
From:      CyberPeasant <djv@bedford.net>
To:        rknebel@csrlink.net (Rick Knebel)
Cc:        questions@FreeBSD.ORG
Subject:   Re: ftp site
Message-ID:  <199808221626.MAA10494@lucy.bedford.net>
In-Reply-To: <19980822084018.A217@knebel.com> from Rick Knebel at "Aug 22, 98 08:40:18 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Rick Knebel wrote:
> Hi,
> I am trying to set up asn anonymous ftp site on my computer.
> I have read ftpd and am able to log in as anonymous.
> The problem is after I see the welcome message and it says the current
> directory is / it just keeps tring to download the ftp directory and and
> nothing happens.
> Do I have to point anonymous to a specific directory?
> Thanks Alot

Create a user named ftp

ftp:*:14:5::0:0:Anonymous FTP Admin:/var/ftp:/nonexistent

You've already done that, no doubt.  The directory you're looking
at is ftp's home dir, /var/ftp.  A local ftp session should look like:

[listread@castor listread]$ ftp localhost
Connected to localhost.
220 castor.loco.net FTP server (Version 6.00) ready.
Name (localhost:listread): ftp
331 Guest login ok, send your email address as password.
Password:
230- Your welcome message here.
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 8
dr-xr-xr-x  2 root  operator  512 Apr 24 18:53 bin
dr-xr-xr-x  2 root  operator  512 Apr 24 18:53 etc
drwxrwxrwt  2 root  operator  512 Apr 24 18:53 incoming
drwxr-xr-x  2 root  operator  512 Jul 25 02:36 pub
226 Transfer complete.
ftp> pwd
257 "/" is current directory.
ftp> quit

What are you getting?

Dave
-- 
             Confutatis maledictis, flammis acribus addictis.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808221626.MAA10494>