Possible Duplicate:
wget downloads corrupt JPEG file
I'm trying to do a script so I can set this image as background and update it each 10 minutes, but I cannot even download the image:
$ wget "http://static.die.net/earth/mercator/1600.jpg" -O imagen.jpg
--2012-08-23 17:51:41-- http://static.die.net/earth/mercator/1600.jpg
Solving static.die.net (static.die.net)... 209.151.236.22, 2607:f820:42::16
Connecting with static.die.net (static.die.net)[209.151.236.22]:80... connected.
HTTP Request sent, waiting reply... 200 OK
Length: 37 [image/gif]
Saving to: “imagen.jpg”
100%[======================================>] 37 --.-K/s en 0s
2012-08-23 17:51:42 (5,58 MB/s) - “imagen.jpg” saved [37/37]
And imagen.jpg
's size is 37 bytes...
Any idea?
NB: Output of wget
was in Spanish, so I translated into English.