cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: lynx -dump option

From: Brian Dessent <brian_at_dessent.net>
Date: Mon, 05 Jun 2006 21:41:43 -0700

Surya Kiran Gullapalli wrote:

> I can download a file, alright. But can i dump it to another file,
> like lynx does?

If you actually mean "parse" instead of "dump" then no. Curl is a tool
designed to transfer files. It does not know anything about their
content, and it does not parse HTML. You have to do that youself, or
use another program or library to do it.

If you mean that you just want to save the output of the transfer to a
file then of course curl can do that.

Brian
Received on 2006-06-06