[Jprogramming] Size limit on stdin?
John Randall
randall at andromeda.rutgers.edu
Mon Feb 20 22:10:15 HKT 2006
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
>
More information about the Programming
mailing list