Download latest BungeeCord build through batch?

Discussion in 'BungeeCord Help' started by LeeTheENTP, Jul 7, 2015.

  1. I got tired of having to make the choice of either manually updating BungeeCord every time a new build came out or having to wait 10 seconds on every startup, so I decided to code something that would automatically download the latest build every time I run the proxy.

    However, when I attempt to run the script, I get this error:

    [​IMG]

    I am using bitsadmin.exe to download the latest artifact from http://ci.md-5.net/job/bungeecord/lastSuccessfulBuild/artifact/bootstrap/target/BungeeCord.jar

    Is there a different URL I should be using? If I put that in any web browser it initiates the download, so I assume it is the one I should be using.
     
  2. That link worked using curl and wget commands
     
  3. I don't believe batch natively supports curl or wget, though.
     
  4. I solved the issue by instead running a PowerShell script through the Task Scheduler.