Java code to copy file from unix to windows




















FileVisitResult; import java. Files; import java. Path; import java. SimpleFileVisitor; import java. BasicFileAttributes; import static java. Use custom FileVisitor to recursively copy file or directories.

Use Apache Commons IO. Copy from Windows to Unix. Registered User. Join Date: Mar How do i copy a jar file from Windows to Unix? I am using eTrust single sign on tool to connect to the unix server. Join Date: Jun I don't know anything about the eTrust system, but if you have ssh access to that machine, you can use pscp from the PuTTY project.

If you've ever used scp, the command works exactly the same. Shell Programming and Scripting. Hi Folks, I have a file name abc. Unix shell script to Copy files from one Windows server to another Windows server. Can anybody please help me on how to code for the below requirement: I need to write a shell script on different unix server to copy files from multiple folders ex. Security says:. July 26, at pm. Olaf Leimann says:. March 23, at am.

Ana says:. November 15, at am. Harri says:. September 9, at am. Alessandro says:. Zarquon says:. January 17, at am. Haibo Yan says:. December 14, at am. June 2, at am. Eyosiyas says:. April 5, at pm. Rajeshkannan Balu says:. September 14, at pm. January 15, at am. Yung says:. February 6, at pm. November 24, at am. September 2, at am. Venki says:. July 28, at am. Ram Mahesh Kumar says:. April 10, at am. Aliasger Motiwala says:.

June 4, at am. Martin Prikryl k 47 47 gold badges silver badges bronze badges. Can you explain why you want to use Java specifically? Samba or SFTP are working, ready-to-install options that already do this.

Add a comment. Active Oldest Votes. Nicely used and very elegant approach. Zach M Zach M 4 4 silver badges 8 8 bronze badges. First thing that goes into my mind is FTP. MGorgon MGorgon 2, 17 17 silver badges 39 39 bronze badges.

Community Bot 1 1 1 silver badge. Juned Ahsan Juned Ahsan



0コメント

  • 1000 / 1000