Link to home
Create AccountLog in
Programming

Programming

--

Questions

--

Followers

Top Experts

Avatar of bfuchs
bfuchs🇺🇸

Wget error message

Hi Experts,

Trying to use wget to download a list of files from a file containing weblinks.

Any idea what I am doing wrong here?


C:\Users\fuchspc1>"C:\Program Files (x86)\GnuWin32\bin\wget.exe" "C:\Users\fuchspc1\Documents\httpstheyingerman.comwp-contentuplo.txt"

Open in new window

 And this is the error message.

C:\Users\fuchspc1>"C:\Program Files (x86)\GnuWin32\bin\wget.exe" "C:\Users\fuchspc1\Documents\httpstheyingerman.comwp-contentuplo.txt"
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
--2025-11-04 18:34:40--  ftp://c/%5CUsers%5Cfuchspc1%5CDocuments%5Chttpstheyingerman.comwp-contentuplo.txt
          => `%5CUsers%5Cfuchspc1%5CDocuments%5Chttpstheyingerman.comwp-contentuplo.txt'
Resolving c... failed: Host not found.
C:\Program Files (x86)\GnuWin32\bin\wget: unable to resolve host address `c'

Open in new window

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of Daniel Pineault (Microsoft MVP)Daniel Pineault (Microsoft MVP)🇨🇦

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of bfuchsbfuchs🇺🇸

ASKER

Thanks


Avatar of bfuchsbfuchs🇺🇸

ASKER

Where does it download to?


By default, wget downloads files to the current working directory where the command is executed. However, you can specify the download directory in the command itself using the -P.

 

"C:\Program Files (x86)\GnuWin32\bin\wget.exe" -i "C:\Users\fuchspc1\Documents\httpstheyingerman.comwp-contentuplo.txt" -P "C:\path\to\download\folder"

Open in new window


Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of bfuchsbfuchs🇺🇸

ASKER

Why do I get this error when thru the browser I am able to connect?

 

Unable to establish SSL connection.
--2025-11-04 20:15:08--  https://theyingerman.com/wp-content/uploads/2024/07/Yingerman-Issue-1-Public.pdf
Connecting to theyingerman.com|172.67.134.124|:443... connected.
Unable to establish SSL connection.

Open in new window


You could try implementing the ‘--secure-protocol=TLSv1_2’ option

 

It can also be cause by date/time mismatches between the systems

 

It can also be due to CA certificate issues.


Avatar of bfuchsbfuchs🇺🇸

ASKER

Tried all these, nothing helps.

 

"C:\Program Files (x86)\GnuWin32\bin\wget.exe" -i  "C:\Users\fuchspc1\Documents\httpstheyingerman.comwp-contentuplo.txt" -P "C:\path\to\download\folder" --no-check-certificate ‘--secure-protocol=TLSv1_2’ 

Open in new window


Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


careful with --no-check-certificate!

Programming

Programming

--

Questions

--

Followers

Top Experts

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.