java - download remote file to local directory in windows -


i have 2 windows machines: windows 7 , windows 2008 server r2. looking way download remote file 1 windows machine using java jsch lib.

use copy command giving instead of both arguments ips windows machines:

copy  \\first_windows_machine\c$\dest_file.txt \\second_windows_machine\c$\download_folder\ 

first_windows_machine - 1 want take file
second_windows_mahcine - want save file

for implementing in java, can use answer here: file transfer using java


Comments

Popular posts from this blog

apache - setting document root in antoher partition on ubuntu -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -