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

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

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