I'm working on an Ant to pass files to a remote server and that works well for me, but at the time of running a .bat on the remote server to organize all the files that happened, I do not know what the problem is so that, instead of running exec on the remote server, do it in local.
The code I have is the following:
<sshsession
host="xxxxxxxxxx"
port="22"
trust="true"
username="Administrator"
password="xxxxxxxx">
<sequential>
<exec executable="C:/tools_deploy/extractor.bat" spawn="true">
<arg value="C:/tools_deploy/extractor.bat"/>
</exec>
</sequential>
</sshsession>
This I do through SSHSession and I do not know what the error may be.