How to download bunch of JPGs

H

HeyBub

Given a text file of URLs pointing to images (all the URLs end in .JPG), is
there an easy way to download the list. Oh, the list may contain several
thousand entries.

Or do I need someone well versed in intertubes and computers and other
stuff?

Thanks.
 
P

Pegasus [MVP]

HeyBub said:
Given a text file of URLs pointing to images (all the URLs end in .JPG),
is there an easy way to download the list. Oh, the list may contain
several thousand entries.

Or do I need someone well versed in intertubes and computers and other
stuff?

Thanks.

There probably is a way. Can you give an actual sample or two? Send it to
pegasus_fnlATyahooDOTcom if you prefer not to publish it here.
 
N

Nil

This looks pretty close to what's required.

Thanks ever so much.

Here's a batch file that seems to work. Call it "FileDL.cmd" or
whatever you like. Adjust path to Wget. "FileList.txt" is a list of
your URLs, one per line.

===cut here========

set WgetPath="C:\program files\Wget\bin\wget.exe"
for /F %i in (FileList.txt) do %WgetPath% %i
pause

===cut here========
 
H

HeyBub

Nil said:
Here's a batch file that seems to work. Call it "FileDL.cmd" or
whatever you like. Adjust path to Wget. "FileList.txt" is a list of
your URLs, one per line.

===cut here========

set WgetPath="C:\program files\Wget\bin\wget.exe"
for /F %i in (FileList.txt) do %WgetPath% %i
pause

===cut here========

Okay, but Wget seems to have an option to accept a file of URLs. I'm on the
verge of trying out the process in a production environment. Thanks for an
alternative in case the file input doesn't fly.
 
N

Nil

Okay, but Wget seems to have an option to accept a file of URLs.
I'm on the verge of trying out the process in a production
environment. Thanks for an alternative in case the file input
doesn't fly.

I didn't realize that WGET could do that. I just tried it -
"wget -i FileList.txt" - and it works perfectly. That's definitely the
way to go!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top