On Feb 26, 2008, at 23:43, Ted Mittelstaedt wrote:
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Doug Hardie
Sent: Tuesday, February 26, 2008 11:12 PM
To: Wojciech Puchar
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD 6.3, ftpd and crappy clients
On Feb 26, 2008, at 22:58, Wojciech Puchar wrote:
is ftpd changed compared to 6.2?
all normal clients (like classic ftp, lftp) works fine, unix mozilla
ftp client, and few winftp clients shows empty catalog.
i know that's crappy clients, but worked with 6.2 (i think ;)
any solution? (except the best - changing to working clients)
You might try using the PASSIV switch.
That could be it, but I really doubt it, here's the output
from 2 different systems I have, one running 6.2 the other 6.3:
C:\Documents and Settings\tedm>ftp XXX.XXX.XXX
Connected to XXX.XXX.XXX.
220 XXX.XXX.XXX FTP server (Version 6.00LS) ready.
User (XXX.XXX.XXX:(none)): tedm
331 Password required for tedm.
Password:
230 User tedm logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 16
-rw-r--r-- 1 tedm staff 767 Feb 22 20:11 .cshrc
-rw-r--r-- 1 tedm staff 248 Feb 22 20:11 .login
-rw-r--r-- 1 tedm staff 158 Feb 22 20:11 .login_conf
-rw------- 1 tedm staff 373 Feb 22 20:11 .mail_aliases
-rw-r--r-- 1 tedm staff 331 Feb 22 20:11 .mailrc
-rw-r--r-- 1 tedm staff 797 Feb 22 20:11 .profile
-rw------- 1 tedm staff 276 Feb 22 20:11 .rhosts
-rw-r--r-- 1 tedm staff 975 Feb 22 20:11 .shrc
226 Transfer complete.
ftp: 441 bytes received in 0.00Seconds 441000.00Kbytes/sec.
ftp>
C:\Documents and Settings\tedm>ftp YYY.YYY.YYY
Connected to YYY.YYY.YYY.
220 YYY.YYY.YYY FTP server (Version 6.00LS) ready.
User (YYY.YYY.YYY:(none)): tedm
331 Password required for tedm.
Password:
230 User tedm logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 760344
-rw-r--r-- 1 tedm staff 767 Jan 24 2007 .cshrc
-rw------- 1 tedm staff 35 Feb 26 14:18 .lesshst
-rw-r--r-- 1 tedm staff 248 Jan 24 2007 .login
-rw-r--r-- 1 tedm staff 158 Jan 24 2007 .login_conf
-rw------- 1 tedm staff 373 Jan 24 2007 .mail_aliases
-rw-r--r-- 1 tedm staff 331 Jan 24 2007 .mailrc
-rw-r--r-- 1 tedm staff 805 Apr 11 2007 .profile
-rw------- 1 tedm staff 276 Jan 24 2007 .rhosts
-rw-r--r-- 1 tedm staff 975 Jan 24 2007 .shrc
drwx------ 2 tedm staff 512 Feb 1 23:52 .ssh
226 Transfer complete.
ftp: 2350 bytes received in 0.30Seconds 7.81Kbytes/sec.
ftp>
See the difference? There ISN'T any. It's the same
program.
Likely he just made a mistake and selected lukeftpd in
the inetd.conf file rather than the normal ftpd.
He would also need to select the passive switch in the
client, not the server, with whatever radio button
it uses.
Ted
I guess my response wasn't as clear as I thought it was. Ftp clients
have a default for passive mode. Some default to using it and others
to having it off. I have encountered ftp clients in the PC world that
have problems with the default mode. Often its because of a firewall
issue somewhere along the line. Changing that setting in the client
by using the PASSIV command often works for me.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"