cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Finding specific files/directories from a remote http/ftp server with curl.

From: Charles Romestant <cromestant_at_gmail.com>
Date: Sat, 11 Apr 2015 08:50:32 -0400

On Friday, April 10, 2015, Hongyi Zhao <hongyi.zhao_at_gmail.com> wrote:

> Hi all,
>
> Suppose I have some remote http/ftp servers, named as follows:
>
> ftp://ftp.example.net.
> http://www.example.com.
>
> And I want to finding some specific files/directories from these sites
> with curl.
>
> To do this, I must let my local curl client to do a traversing among all
> of the corresponding sub-directories for searching. Say, if I want to find
> all of the `foo/file' on these servers, i.e., a file named file
> which is located under the foo directory. How can I do this thing within
> bash/shell script with the invoking on curl?
>
> Regards
> --
> Hongyi Zhao <hongyi.zhao_at_gmail.com
> <javascript:_e(%7B%7D,'cvml','hongyi.zhao_at_gmail.com');>>
> Xinjiang Technical Institute of Physics and Chemistry
> Chinese Academy of Sciences
> GnuPG DSA: 0xD108493
>

Maybe this is better suited for stackoverflow.

-- 
MSc. Charles M. Romestant F.
Merci de penser à l'environnement avant d'imprimer cet e-mail
Please think about the environment before you print this e-mail
Por favor piense en el medio ambiente antes de imprimir este e-mail

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-11