How to put a internet page to a file.

2000-12-21 Thread cgreen
Hi,all: I want to read a internet page(e:http://www.microsoft.com/) and put the page to a file(e: c:/temp.txt). How to do ? Thanks very much! cgreen

Re: How to put a internet page to a file.

2000-12-21 Thread Joseph B. Ottinger
This has virtually nothing to do with Orion. However, you can do this in a LOT of ways: "Save As" from your browser, you can use various mirroring tools, you could even use a URLConnection from java.net.* and use one of the java.io classes to write it to your local filesystem... as well as a

RE: How to put a internet page to a file.

2000-12-21 Thread Stephane GINER
hello, here is the code to get http page. you can write it were you want ! best regards //create url objectInputStream l_urlStream; URL l_url = new URL(p_sUrl); //get a connctionHttpURLConnection l_connection = (HttpURLConnection) l_url.openConnection(); l_connection.connect();