[FTP] proftpd的续传问题,在线等!

weixin_38048892 2003-09-10 07:57:25

配置文件中没出现的用户就可以,配置文件中出现的用户如匿名,test,music都不行,而与test,music同组的用户都可以,请指点!我已经搞了一个星期还没搞定,这样别人传东西很麻烦啊

ServerName                      "BUCT's FTP"
ServerType                      standalone
DefaultServer                   on
Port                            21
Umask                           022
MaxInstances                    50
MaxClients                      80
User                            nobody
Group                           nobody
  TimeoutNoTransfer              60
  TimeoutLogin                   30
  TimeoutIdle                    90
  UseReverseDNS          off
  IdentLookups          off
  ExtendedLog /var/log/proftp.log ALL
AllowOverwrite on
AllowRetrieveRestart      on
AllowStoreRestart on

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous>; section.
<Anonymous /ftp>;
  User                          ftp
  Group                         ftp
  Umask                         002
  AccessGrantMsg            "Anonymous User Login Successfully."
  UserAlias                     anonymous ftp
  MaxClientsPerUser              50
  MaxClientsPerHost              1
  TransferRate APPE,RETR,STOR 3000:300

AllowOverwrite on
AllowRetrieveRestart      on
AllowStoreRestart on

  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message

  <Limit WRITE>;
    DenyAll
  </Limit>;
  <Limit LOGIN>;
  Order allow,deny
  Allow from 202.4.15*.
  DenyAll
  </Limit>;
<Directory incoming/*>;
  AllowOverwrite on
  AllowRetrieveRestart      on
  AllowStoreRestart on
  <Limit WRITE>;
  DenyAll
  </Limit>;
  <Limit STOR READ MKD>;
  AllowAll
  </Limit>;
</Directory>;
</Anonymous>;

DefaultRoot /ftp ftp
DefaultRoot /ftp/pub/TVEntZ bter
DefaultRoot /ftp/pub/Music bter2
ServerIdent off
AllowForeignAddress on

<Anonymous /ftp/pub/TVEntZ>;
  User                          test
  Group                         bter
  Umask                         002
  AccessGrantMsg            "You are Welcome,ZT!"
  MaxClientsPerUser              15
  MaxClientsPerHost              2
  TransferRate APPE,RETR,STOR  1000:300
AllowOverwrite on
AllowRetrieveRestart      on
AllowStoreRestart on
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message
<Limit LOGIN>;
  Order deny,allow
  DENY from 202.112.152.*
  ALLowAll
  </Limit>;
  <Limit WRITE>;
  DenyAll
  </Limit>;
  <Limit STOR READ MKD>;
  AllowAll
  </Limit>;
</Anonymous>;

<Anonymous /ftp/pub/Music>;
  User                          music
  Group                         bter2
  Umask                         002
  AccessGrantMsg            "You are Welcome,BTer!"
  MaxClientsPerUser              10
  MaxClientsPerHost              2
  TransferRate APPE,RETR,STOR  1000:300
<Directory /ftp/pub/Music>;
AllowOverwrite on
AllowRetrieveRestart      on
AllowStoreRestart on
</Directory>;
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message
<Limit LOGIN>;
  Order deny,allow
  DENY from 202.112.152.*
  ALLowAll
  </Limit>;
  <Limit WRITE>;
  DenyAll
  </Limit>;
  <Limit STOR READ MKD>;
  AllowAll
  </Limit>;
</Anonymous>;
...全文
13 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧