Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

關於IIS計算WWW與FTP服務上傳的方式

37 views
Skip to first unread message

smokehouse

unread,
May 29, 2007, 3:26:01 AM5/29/07
to
您好

有一個問題再請教大家
因為本系統需要上傳每個檔約0.5 MB一次可能有幾十個檔案
連到一台AP網頁再利用程式將檔案傳送到另一台FTP主機上
因此參照微軟的文件去修改
%systemroot%\inetsrv\metabase.xml中兩個參數
AspBufferingLimit="4194304"
AspMaxRequestEntityAllowed="204800"
都將上述的參數值改成15MB

但是在傳檔時
不確定是否傳檔數太多
有時候都繪一段時間不能傳檔
如果從Client直接連FTP卻是正常的

想知道IIS這兩個參數值是如何去判定傳送量過大?


謝謝您

Bernard Cheah [MVP]

unread,
May 29, 2007, 4:52:17 AM5/29/07
to
What's the error msgs ?
I think aspbufferinglimit is for asp response to write to the buffer before
it flush.
this mainly for download or page response.

aspmaxrequestentityallowed is for uploading to asp content size, it also
related to maxrequestentityallowed metabase key.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"smokehouse" <smoke...@discussions.microsoft.com> wrote in message
news:693E6998-EAAE-4A25...@microsoft.com...

smokehouse

unread,
May 29, 2007, 6:00:01 AM5/29/07
to
Dear Bernard

我想說明不夠清楚
網頁是一台IIS執行JAVA的主機
另外有一台FTP主機
Client會利用IIS主機執行網頁功能
將檔案利用IIS主機傳到FTP主機上

有時候傳到一段時間
會出現 Connection Time out : Connect
FTP主機有一個連線逾時的設定
這個設定值是如何計算呢?
例如 : 逾時為600秒
是代表我有在使用600後一定會TimeOut掉
還是閒置後TimeOut

如果TimeOut掉後
是否會有一段時間不能在馬上連上去?

謝謝您

Cloud

"Bernard Cheah [MVP]" 來函:

Bernard Cheah [MVP]

unread,
May 30, 2007, 1:58:42 AM5/30/07
to
I think your problem is between your app and IIS FTP.
the timeout is in between the process. Well, the timeout value in the ftp
setting is for connection idle status, say 900 seconds if there's no
activities between client and server. IIS ftp will closed the connection.

I would suggest you try ftp.exe and simulate the upload. do you see any
problem?
most of the time - if a decent ftp client is talking to the ftp server, you
don't see such issue.
set aside of coz the IIS FTP itself is also not up to the standard.


"smokehouse" <smoke...@discussions.microsoft.com> wrote in message

news:B211050A-7143-4474...@microsoft.com...

0 new messages