* [9fans] ftpd is something weird
@ 2001-06-08 4:31 arisawa
0 siblings, 0 replies; 2+ messages in thread
From: arisawa @ 2001-06-08 4:31 UTC (permalink / raw)
To: 9fans
Hello 9fans,
Ftpd is something weird.
I cannot communicate with Plan9 ftpd after rhelp (remotehelp)
command.
The following is an example from Linux.
[arisawa@vega arisawa]$ ftp ar
Connected to ar.aichi-u.ac.jp.
220 Plan 9 FTP server ready
Name (ar:arisawa): ftp
331 Send email address as password
Password:
230- If you have problems, send mail to 'postmaster'.
230 Logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/" is the current directory
ftp> ls
200 Data port is tcp!202.16.124.3!2515
150 Opened data connection (tcp!202.16.124.3!2515)
total 8860
-r-xr-xr-x 1 none none 1333748 Sep 25 2000 9pcdisk
-r--r--r-- 1 none none 140 Sep 28 2000 INDEX
dr-xr-xr-x 2 none none 512 May 27 17:06 Python
-r--r--r-- 1 none none 128846 Sep 28 2000 bc-1.03.tar.gz
-r--r--r-- 1 none none 881984 Sep 28 2000 gawk-3.0.0.tar.gz
dr-xr-xr-x 2 none none 512 Sep 28 2000 ghostscript
-r--r--r-- 1 none none 373514 Sep 28 2000 gmp-2.0.2.tar.gz
-r--r--r-- 1 none none 21360 Sep 28 2000 mailsort.tar.gz
-r--r--r-- 1 none none 6605 Sep 28 2000 md5sum.tar.gz
-r--r--r-- 1 none none 94842 Sep 28 2000 ncftp173.tar.gz
dr-xr-xr-x 2 none none 512 May 27 17:06 pub
dr-xr-xr-x 2 none none 512 May 27 17:06 qmail
-r--r--r-- 1 none none 1630065 Sep 28 2000 ssh.1.2.16.NIS.tar.gz
dr-xr-xr-x 2 none none 512 May 27 17:06 tip+
-r--r--r-- 1 none none 62812 Sep 28 2000 zmodem.tar.gz
226 Transfer complete (list )
ftp> rhelp
214- the following commands are implemented:
abor
appe
cdup
cwd
dele
help
list
mdtm
mkd
mode
nlst
noop
pass
pasv
pwd
port
quit
rest
retr
rnfr
rnto
rmd
size
stor
stou
stru
syst
type
user
214
ftp> pwd
ftp> ls
257 "/" is the current directory
200 Data port is tcp!202.16.124.3!2517
ftp> bye
150 Opened data connection (tcp!202.16.124.3!2517)
[arisawa@vega arisawa]$
Thanks,
Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] ftpd is something weird
@ 2001-06-08 13:32 presotto
0 siblings, 0 replies; 2+ messages in thread
From: presotto @ 2001-06-08 13:32 UTC (permalink / raw)
To: 9fans
Right you are, I guess I never tested that command. Change helpcmd()
to:
int
helpcmd(char *arg)
{
int i;
USED(arg);
reply("214- the following commands are implemented:");
for(i = 0; cmdtab[i].name; i++){
if((i%8) == 0)
print("\r\n");
print("%8.8s", cmdtab[i].name);
}
print("\r\n");
return reply("214 done");
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-08 13:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-08 4:31 [9fans] ftpd is something weird arisawa
2001-06-08 13:32 presotto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).