aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes How can we transfer a file from one server to another server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How can we transfer a file from one server to another server?" Watch "How can we transfer a file from one server to another server?" New topic
Author

How can we transfer a file from one server to another server?

Jalli Venkat
Greenhorn

Joined: Aug 10, 2006
Posts: 27
Hi Friends,
I want to transfer a file (tha file may be a text file or word document or a PDF file or a JREG file) from one server to another server.
How can we do this in Java?
What are the possible ways to do this?
Please tell me about this.

Thanks
Venkat


venkat
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
There are many possible ways: FTP, WebDAV, shared directory, HTTP, ... Shared directory or FTP would probably be the first I'd look into.
 
Consider Paul's rocket mass heater.
 
subject: How can we transfer a file from one server to another server?