This is what worked for me:
1. Install GnuWin32.Make
Open a command prompt or terminal and run the following command:
winget install -e --id GnuWin32.Make
2. Click on the following link to download wget:
https://eternallybored.org/misc/wget/1.21.4/64/wget.exe
3. Move the wget Executable
Once downloaded, move the wget.exe file to the following directory:
C:\Program Files (x86)\GnuWin32\bin
4. Update System PATH
Ensure that the directory C:\Program Files (x86)\GnuWin32\bin is added to your system's PATH variable. If it's not, add it manually.
5. Install Git and Git Bash; allows you to use common bash and Linux commands on windows
Download and install Git.
https://git-scm.com/downloads
During the installation process, select the option to add Git Bash to the Windows terminal.
6. Restart Your PC
To ensure all changes take effect, restart your computer.
7. Launch Git Bash
After restarting, open the Windows terminal. From the dropdown menu, select bash.
8. Download data
In the Git Bash terminal, run the following command, replacing <username> with your actual username and <url.txt> with your desired URL:
wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --keep-session-cookies --user=<username> --ask-password --content-disposition -i <url.txt>
Note: The command will prompt you to enter your password due to the --ask-password flag.