Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to transfer file from server linux to another server linux java code [closed]

Tags:

java

linux

I want to transfer file from server linux to another server linux using java application. anyone give me a solution or example .

like image 849
beginerdeveloper Avatar asked Apr 18 '26 07:04

beginerdeveloper


1 Answers

You can use Apache Commons Net API

Some sample programs are given at below links

http://commons.apache.org/proper/commons-net/examples/ftp/FTPClientExample.java http://www.journaldev.com/661/java-ftp-upload-example-using-apache-commons-net-api

This should be perfect solution for you, it is server to server file transfer example.

like image 61
Vipin Avatar answered Apr 20 '26 19:04

Vipin