2

In my current Java application, I am using Linux commands to make copies of files that are locally stored on a server.

Now, I want to know how to transfer files from one server to another server, using a Java API.

Can anyone offer me some directions? Thank you.

Fabien
  • 4,862
  • 2
  • 19
  • 33

1 Answers1

-1

You could invoke the exact same Linux commands via Runtime.exec(...)

lance-java
  • 25,497
  • 4
  • 59
  • 101