Winrm4j

0 views
Skip to first unread message

Leanne Wittlin

unread,
Aug 5, 2024, 8:47:47 AM8/5/24
to mechitute
Iam using winrm4j java library and it works great to run powershell or native windows commands. But I was wondering if winrm4j can upload/download files. For instance, with powershell, we can upload a file from local computer to remote computer by running:

It implements a method called "copyTo", which is pretty closed of what I want to do. It seems that the devs think about adding this method to the WinRmTool class. However, the methodology used is pretty dirty, and execution time also very long. I am a little disapointed to do not find another way to accomplish this.

3a8082e126
Reply all
Reply to author
Forward
0 new messages