curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: use curl to recuresively download a directory.

From: Dan Fandrich via curl-users <>
Date: Sat, 28 Mar 2020 09:55:08 +0100

On Sat, Mar 28, 2020 at 04:43:43PM +0800, Hongyi Zhao via curl-users wrote:
> Hi,
> What's the equivalent of the curl's command to the following wget's command:
> $ wget -e robots=off -r -p -np -k -c <url>

curl doesn't have the equivalent to the -r (a.k.a. --recursive) option so
there's no direct equivalent. See this FAQ entry:

Received on 2020-03-28