简体   繁体   中英

Is there any Java API to transfer files from one server to another?

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.

您可以通过Runtime.exec(...)调用完全相同的Linux命令

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM