I want to download a file from a specific url, the file will change extension, but not name, and I want the same download command to be able to download the file no matter what the file extension is.
I have tried wget in powershell, ex:
This gets the file, but only doesn't download it to a file. I can use this:
wget example.com/test/file -OutFile file
But this doesn't add the file extension.
Any help would be greatly appreciated.