Joey K Tuttle wrote:
I'm not sure about what standards say, but in creating a file uploading facility in Linux/Apache, I had troubles with large objects via a CGI post call. As I recall, the troubles began at only a few hundred KB - but this may have been exacerbated by
My question may be related to what should be the expected behaviour of reading stdin when it is empty.
in j ide, calling a=.1!:1[3 will retrun an empty string immediately, but in jconsole, it wait for input if stdin is empty.
in c or perl, isn't that reading an empty stdin will suspense execution until there is data in stdin for reading?
in cgi, will only one reading on stdin getting all data, or it needs multiple reading of stdin until all data be read as indicated by env variable content_length?
I googled and found there is a built-in facility in cgi.pm to handling uploading file but it seems not applicable directly to J at least not without digging into its source code.
-- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
