How to set correctly Anonymous FTP

From: Peng Wei <pengw_at_astrosv1.ihep.ac.cn>
Date: Wed, 20 Nov 1996 10:55:50 +0800

Hi all,

There is a problem for me to usr anonymous ftp on
our Alpha machine. The problem is:
   When I ftp to our machine using anonymous ftp,
   I can't use 'dir' command, but 'ls' is well.
   The error message is:

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls
(202.38.128.201,4903).
/bin/ls: No such file or directory
226 Transfer complete.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list
(202.38.128.201,4904).
bin
etc
pub
usr
226 Transfer complete.

The Anonymous ftp' account in /etc/passwd is:
ftp:*:304:30:Anonymous FTP Login:/home1/ftp:/usr/bin/false

And I have copied /usr/bin/ls,more,pwd to /home1/ftp/bin,
/etc/group,passwd to /home1/ftp/etc .

I still know the reason for the problem.
Thanks for help!

Wei PENG
pengw_at_astrosv1.ihep.ac.cn
Received on Wed Nov 20 1996 - 04:12:32 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT