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,614
  • 2
  • 16
  • 33

1 Answers1

-1

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

lance-java
  • 23,463
  • 3
  • 50
  • 89