So as you can see from my partial code below I am trying to download a file from VRChat’s website. Everything works if I use a full file name however I am running into an issue. The team who uploads their files online change the file name every time they update it. For instance, the file name currently looks like this: “VRCSDK2-2021.04.21.11.58_Public.unitypackage”. If they update their file then the date and time changes and my code breaks. Is there a way to write my file name so that it will always download the latest version and not break when they update? Such as a way to have the code look for any file starting with “VRCSDK2”?
Thanks for all the help!
They would have to provide a URL with that functionality. There’s nothing you can do as a client to get this behavior. Often they will provide a -latest url or something.
So another question then… if there is a link that redirects to the download of the SDK such as: https://vrchat.com/download/sdk2
can you download the file from a redirect? I could not find a way to do that prior.