Re: retrieving gifs through HTTP from script
On 17 Jun, Nico De Ranter wrote:
>
> Hi,
>
> I need to write a script dat will download a gif from an HTTP
> server. Unfortunately it turns out that when I telnet to the
> webserver (port 80), issue "GET test.gif" and pour the output
> into a file (making sure to remove the three header lines) the
> gif turns out not to be useable. My best guess is that HTTP
> somehow encodes binary files when transferring them.
> Does anybody know how to download a gif that way or is their
> an app somewhere that will do this for me.
>
> Thanks in advance,
>
> Nico
>
Among one of the many ways of doing this you could use lynx to get the
file.
lynx -dump http:/...../image.gif > image.gif
There are also debian packages for htget and wget which are file
grabbers for http.
--
Brian
--
Mechanical Engineering servis@purdue.edu
Purdue University http://www.ecn.purdue.edu/~servis
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: