Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WinSCPを使用して、Javaでローカルコンピューターからリモートホストへのファイル同期を自動化しようとしています。誰かが私にコマンドが何であるかを提案するのを手伝ってもらえますか?
//---Javacode Runtime.getRunTime().exe(cmd /...../);
Don't exec(). Use either the ant scp task which will do the same thing as WinSCP, or directly integrate JSCH:
http://www.jcraft.com/jsch/
Much simpler.