Lorin: I strongly suggest not rolling your own for this type of application: it requires a lot more than opening sockets.
I use wget, which can be integrated into J (at least on Linux) with something like NB. fetch URL contents using wget geturl=:[: 2!:0 'wget --output-document=- --quiet "'"_ , ] , '"'"_ s=:geturl 'http://google.com' s is now a string containing the URL contents. If you play around with the command line arguments to get what you want, you can write a verb. Best wishes, John Lorin Lund wrote: > Using jconsole for CGI (web server application) I need to get the POSTed > data via stdin. It works for small files. Fails for large files. Is > there anything > I can do about this? > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
