My goal was to download from a (internal) website a folder with all subfolders from a trusted source on Window 11.
So first I installed Cygwin from here: https://www.cygwin.com/
I forgot to add the wget package, but you can add it after the install with just run the setup again.
Then I run this command:
wget -r -np -nH --cut-dirs=4 --no-check-certificate --user=myUser--password=myPassword https://mySite/dir1/dir2/dir3/dir4/dir5/
--cut-dirs tells wget where to begin
--no-check-certificate is not safe, but spares a lot of trouble to add the right certificates
-np = no parents, so we do not walk up
-r = recursive
The result was:
FINISHED --2025-04-03 12:27:51--
Total wall clock time: 19m 54s
Downloaded: 18872 files, 1.8G in 4m 50s (6.40 MB/s)