标题: ProFTPD服务器只能提供服务给linux客户端,windows客户端失败,为何? [打印本页] 作者: ioiioi 时间: 2006-01-08 12:24 标题: ProFTPD服务器只能提供服务给linux客户端,windows客户端失败,为何? 我使用了Debian linux,直接安装了ProFTPD的deb包,配置完毕之后,使用linux的客户端可以登录,浏览目录,上传文件,但是windows的则不行,只能登录,无法浏览目录,windows自带的命令行,IE和Filezilla都显示同样的错误:
filezilla:
Status: Connected with 192.168.100.205. Waiting for welcome message...
Response: 220 192.168.100.205 FTP server ready
Command: USER bazhai
Response: 331 Password required for bazhai.
Command: PASS ******
Response: 230-Welcome, bazhai !
Response: 230-This is the SCCGD's FTP server.
Response: 230-
Response: 230-The local time is: Sat Jan 7 20:06:35 2006
Response: 230-
Response: 230-The Max users could be handled up to 10.
Response: 230-There are 1 users logon this server now.
Response: 230-
Response: 230-The local directory you exist is /
Response: 230-
Response: 230-
Response: 230 Anonymous access granted, restrictions apply.
Command: FEAT
Response: 211-Features:
Response: 211-MDTM
Response: 211-REST STREAM
Response: 211-SIZE
Response: 211 End
Command: SYST
Response: 215 UNIX Type: L8
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE A
Response: 200 Type set to A
Command: PORT 192,168,100,62,7,55
Response: 200 PORT command successful
Command: LIST
Trace: <Empty directory listing>
Error: Could not retrieve directory listing
Error: Interrupted by user!
Command: PWD
window FTP command
c:\ftp 192.168.100.205
220 192.168.100.205 FTP server ready
User (192.168.100.205:(none)): bazhai
331 Password required for bazhai.
Password:
230-Welcome, bazhai !
230-This is the SCCGD's FTP server.
230-
230-The local time is: Sat Jan 7 20:16:24 2006
230-
230-The Max users could be handled up to 10.
230-There are 1 users logon this server now.
230-
230-The local directory you exist is /
230-
230-
230 Anonymous access granted, restrictions apply.
ftp> dir
200 PORT command successful
Connection closed by remote host.
ftp>
Debian linux client:
sccxx:~# ftp 192.168.100.205
Connected to 192.168.100.205.
220 192.168.100.205 FTP server ready
Name (192.168.100.205:root): bazhai
331 Password required for bazhai.
Password:
230-Welcome, bazhai !
230-This is the SCCXX's FTP server.
230-
230-The local time is: Sat Jan 7 20:17:24 2006
230-
230-The Max users could be handled up to 10.
230-There are 2 users logon this server now.
230-
230-The local directory you exist is /
230-
230-
230 Anonymous access granted, 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 file list
drwxrwxr-x 2 ftpuser root 1024 Jan 6 12:00 incoming
-rwxrwxr-x 1 ftpuser root 192 Jan 5 11:38 welcome.msg
226 Transfer complete.
以下是我的配置文件:
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
ServerName "SCCGD.FTP.server"
ServerType standalone
DeferWelcome on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
# Max clients
MaxClients 10
MaxClientsPerHost 1 "Only one instance per IP"
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
Umask 022
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
<Limit LOGIN>
DenyAll
</Limit>
# Allow the user to re-download.
AllowRetrieveRestart on
AllowStoreRestart on
<Anonymous /ftp>
User ftpuser
Group ftpuser
UserAlias upload ftpuser
UserAlias bazhai ftpuser
AuthAliasOnly on
RequireValidShell off
AnonRequirePassword on