File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes getting the files from other server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "getting the files from other server" Watch "getting the files from other server" New topic

getting the files from other server

saravanan balu
Ranch Hand

Joined: May 19, 2000
Posts: 49
Hi All,
i need to retrieve files from the web server from my app server n these two servers are in two different machines over the network.can anyone tell me how to do that??
Sean MacLean
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
Well, there are several approaches but the simplest might be to use a URL object. Something like url = new URL( "file://" );
InputStream in = URL.openStream();
I agree. Here's the link:
subject: getting the files from other server
Similar Threads
load balance and clustering
Need help to write Client/Server java socket program to transfer files between client/server
Transfer of files thro. Linux 7.x
Uploading image and thumbnail
Is it possible to create a windows short cut via ant