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 <curl-users_at_cool.haxx.se>
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:
https://curl.haxx.se/docs/faq.html#Can_I_do_recursive_fetches_with

Dan
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-28