Hello!
I have a batch script I am working on to automatically update (download new files) for a official Minecraft Bedrock server. I plan to have it compare the checksum of the downloaded .zip to the current .zip file. At the moment, it can download from a URL. However, with future updates, this URL will change with the version number (bedrock-server-1.16.220.02.zip). How can I prevent this? The page that contains the download link is here: https://www.minecraft.net/en-us/download/server/bedrock (the one that contains the URL below).
I have a batch script I am working on to automatically update (download new files) for a official Minecraft Bedrock server. I plan to have it compare the checksum of the downloaded .zip to the current .zip file. At the moment, it can download from a URL. However, with future updates, this URL will change with the version number (bedrock-server-1.16.220.02.zip). How can I prevent this? The page that contains the download link is here: https://www.minecraft.net/en-us/download/server/bedrock (the one that contains the URL below).
Code:
bitsadmin /transfer mcpe /download /priority high "https://minecraft.azureedge.net/bin-win/bedrock-server-1.16.220.02.zip" C:\Users\%username%\Documents\bedrockserver\temp\%currentdate%.zip
Last edited: