QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4123|回复: 6

局域网ftp服务器上下载大于10M的文件到99%就半天不走???

[复制链接]
发表于 2002-11-3 09:54:37 | 显示全部楼层 |阅读模式
到ftp(proftpd1.2.6)下载大于10M的文件到99%就半天不走???

我在局域网上别的电脑上下载4M的文件没有问题,直接用IP下,一会儿就下了,但是下一个10M的文件有如下问题,开始很快,400K以上,但是到了99%时就不走了,电脑(win2000server)明显感觉 到反应变慢,停3分左右就能下完,我又试了一个70M的文件,用网络蚂蚁下的。平均就400K左右,同样到了99%就不走了,但是蚂蚁的5个进程都显示传输完成,没有佘下的块。电脑明显变慢,打开 一个网页半天没反映,同样停5分钟后蚂蚁就接着显示传输完成。这是怎么回事,系统是红旗多功能服务器3.0,请大家帮忙看看。谢谢!
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName"测试ftp服务器"
ServerTypestandalone
DefaultServeron

# Port 21 is the standard FTP port.
Port21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask022
AccessGrantMsg "Hello %u, welcome to visit my FTP SITE!"

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances30
RequireValidShell off
ServerIdent off

# Set the user and group under which the server will run.
Usernobody
Groupnobody

# Normally, we want files to be overwriteable.
<Directory />
  AllowOverwriteon
</Directory>

# A basic anonymous configuration, no upload directories.
<Anonymous /www/Ftp>
  Userftp
  Groupftp

  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAliasanonymous ftp

  # Limit the maximum number of anonymous logins
# MaxClients10    "下载用户过多,请稍候再试"
  MaxHostsPerUser       5          " 下载用户过多,请稍候再试 "
  MaxClientsPerHost      2        "对不起,同一个ip只允许有%m个连接!"
  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLoginwelcome.msg
  DisplayFirstChdir.message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>

</Anonymous>

我试着用了proftpd1.2.7/rc1/rc2/,结果都是一样,还有个问题,假如说在/www/Ftp/uploads目录下,我想把它设置成署名用户有所有权限,在proftpd.conf配置文件我得怎么设置,请大家帮忙看 看,小弟感激不尽,谢谢!





--------------------
发表于 2002-11-3 15:56:50 | 显示全部楼层

哈哈!

那是网络蚂蚁的问题呢 !
回复

使用道具 举报

 楼主| 发表于 2002-11-3 22:39:36 | 显示全部楼层
我感觉不是的。因为我也试过不用网络蚂蚁,而是直接复制到我的机器上,也有同样的情况,但是如果文件小于10M的话,就没有这个问题?不管是用蚂蚁还是粘贴,都没问题!
回复

使用道具 举报

 楼主| 发表于 2002-11-5 12:20:03 | 显示全部楼层
大家帮忙看看吧!
回复

使用道具 举报

发表于 2002-11-5 15:21:03 | 显示全部楼层
你用flashget试一下就知道是什么问题了,我以前用蚂蚁也会这样,不过那是几年前的事了,现在用的都是flashget。^_^
或者直接用浏览器下载看看
回复

使用道具 举报

发表于 2002-11-6 14:55:18 | 显示全部楼层

argument

似乎是下载软件的设置问题,获得文件长度的命令结果出现误差,会导致这种情况发生(在99%的时候停止不动)。
在一些下载软件的高级设置中可以调整参数,避免这种问题。
回复

使用道具 举报

 楼主| 发表于 2002-11-6 22:16:15 | 显示全部楼层
那为什么直接用浏览器下载也出现这种情况哩?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-5 13:49 , Processed in 0.119901 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表