java ee - How do I remotely get a checksum for a file on a Windows machine? -
i'm trying check, using automated discovery tool, when jar files in remote j2ee application servers have changed content. currently, system downloads whole jar using wmi checksum locally, slow large jars.
for unixy servers (and windows servers cygwin), can log in on ssh , run md5sum foo.jar
. ideally, i'd avoid installing software on remote servers (there may thousands), there way on vanilla windows servers?
you try sysinternals psexec tool. need checksum utility available on remote machine. unfortunately since became part of microsoft don't make source code available.
alternatively, install cygwin ssh daemon on remote machines , use ssh that's bit more involved.
Comments
Post a Comment