--- bill lam <[EMAIL PROTECTED]> wrote: > Sherlock, Ric wrote: > > It seems to me (someone with no indepth knowledge of the area) that HTTP > > in general must be able to work with files bigger than "a few megabytes" > > given that many HTTP downloads of software are 50MB+. Having said that, > > 50MB should still fit in the memory of most servers, as long as many > > people are not uploading at once. > > > > Is there a difference between upload & download in this regard, or is it > > just because downloads are 1 computer to many computers and uploads are > > potentially many computers to 1? > > I'm not familiar with JHP. AFAIK most http servers (at least apache) have a > configurable upper limit on the size of post data per request. The default > limit > can be changed in its conf file. I guess this is needed for security reason. > Http server may also receive data in-memory up to say 500kB then flush it to > a > temp file and continue receiving. After all data is received the server will > send the content to cgi client via stdio/stdout. I guess this is the usual > scenario that data is buffered before sending to cgi client.
Where is such limit in IIS? There is a max ASP upload limit is 200Kb. But ASP is not a web server, it is an HTTP handler like JHP. http://www.chrisbunk.com/archives/2005/05/overcoming_iis.html This is why other solutions are used: components from ASP to parse Request stream or ISAPI filters to intercept request. PHP has a default limit of 2Mb. http://www.radinks.com/upload/config.php Apache indeed provide a limit LimitRequestBody, default to 0 (none). http://httpd.apache.org/docs/1.3/mod/core.html#limitrequestbody Theoretically HTTP should be able to support unlimited streaming either way: you should be able to open a request and stream data indefinitely. The idea of streaming is based on the principle that you don't have to obtain all request to start processing it, and the other way around. There is the Content-Length parameter, but it may be omitted, esp. for response. The input can be processed piece-wise and forwarded to intended locations: files or database, without caching on disk or memory. ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
