[Httpunit-develop] downloading
Brought to you by:
russgold
From: Torsten C. <tc...@ap...> - 2006-01-31 12:34:12
|
Let's say I want to download a linked (binary) file from a page WebLink link = ... System.out.println("GET " + link.getURLString()); WebRequest req = link.getRequest(); What would be the way to go? I assume a usual WebResponse res = conversation.getResponse(req); Is probably not a good idea. Using "getResource()" will probably still not solve the fact that the data will be held in memory. Is there a way to get right to the input stream? cheers -- Torsten |