• Post Reply Bookmark Topic Watch Topic
  • New Topic

downloading files remotely from one server to other server.  RSS feed

 
vishalp pradhanp
Greenhorn
Posts: 10
Java MS IE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having two servers,which are remotely situated and i want to download some files from
one server to the other server to particular disk space like to C:\test\ folader,
I had tried by various ways,searched on internet but some are saying it is not possible?
If anyone having any idea,please share it with me.
Thank you in advance.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This would be an IO question I think, not a Spring question. So I am going to move this to another forum here.

Thanks

Mark
 
Greg Charles
Sheriff
Posts: 3014
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only way it would be impossible is if there were no network connection between the two servers. The solution depends somewhat on the network that you do have. If one server could mount the drive of the other, for example, you could do a simple file system copy, just like you were copying from one folder to another on a single machine. If you can't do that, then you will need software running on both client and server. This could be an FTP client and server, or something you create yourself in Java using RMI, or just I/O sockets.

If there's not a network connection between the two machines, you can check out RFC 1149: IP Over Avian Carriers. I've been waiting a long time to see a real life implementation of that one.
 
vishalp pradhanp
Greenhorn
Posts: 10
Java MS IE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Greg,
There is no network connection between two servers,Thank you for your suggestion for RFC IP:1149 over Avian Carriers,
I am checking this,but If you have any example,please share it so I can refer it.

Thank you.
 
Greg Charles
Sheriff
Posts: 3014
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ooh, actually I was kidding about RFC 1149. It's written like a technical specification, but other than appealing to people with a wry sense of humor, and maybe a small lesson about networking layers, it doesn't really have any value at all.

When you say there is no connection between servers, do you mean no direct network connection, or no connection at all? Is there anywhere that the machine with the files can write to and the other can read from? For example: a local file server, a shared hard drive, an e-mail box, or "the cloud". If not, then you're stuck with the "sneakernet" ... that is, you save the files to some medium ... CD, DVD, USB drive, tape, floppy disc ... then take that to the other machine and load the files.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!