I am using Windows XP. I just downloaded wget and put it into my C:\Windows
folder.
I then ran this command line (trying to download an image from a website):
wget -r -A ".jpg,.gif,.png" http://somesite'sURL/lang2.JPG
A black DOS-like window appeared for a few seconds showing me that some kind of process was taking place. I assume it was the process of downloading. I could see the growing percentage numbers shown. Once it reached 100%, the black window vanished and now I can't find where the downloaded image is. I looked all over the C:\Windows
folder, but I didn't find lang2.JPG
. Where is it supposed to be?
I have discovered that a folder is created, and the file is being downloaded, but then it is removed "since it should be rejected". Why it should be rejected I don't know. Do you think there is a way of "catching" it on my computer before it is rejected? And why is it still being downloaded first if it's to be rejected?
Here's the command window contents:
C:\Documents and Settings\Administrator> wget -r -A".jpg,.gif,.png" http://sitename.URL
--2009-12-01 22:33:18-- http://sitename.URL
Resolving sitename.URL…xx.xx.xx.xx
Connecting to sitename.URL¦xx.xx.xx.xx¦ :80…
connected. HTTP request sent, awaiting response… 403 Forbidden
--2009-12-01 22:33:22 ERROR 403: Forbidden.
C:\Documents and Settings\Administrator> wget -r -A ".jpg,.gif,.png" http://sitename.URL/lang2.JPG
--2009-12-01 22:35:51-- http://<the site’s name>/lang2.JPG
Resolving sitename.URL…xx.xx.xx.xx
Connecting to sitename.URL¦xx.xx.xx.xx¦ :80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 39249 <38K> [image/jpeg]
Saving to: ‘sitename.URL/lang2.JPG’
100%[======================================>] 39,249 6.36 KB/sec in 6.0 s
2009-12-01 22:35:58 <6.36 KB/s> - ‘sitename.URL’ saved [39249/39249]
Removing sitename.URL/lang2.JPG since it should be rejected.
FINISHED --2009-12-01 22:35:58—
Downloaded: 1 files, 38K in 6.0s <6.36 KB/s>
C:\Documents and Settings\Administrator>