cURL / Mailing Lists / curl-users / Single Mail

curl-users

How to get ftp dir listing

From: frank ernest <doark_at_mail.com>
Date: Wed, 09 Apr 2014 15:40:18 -0400

I want to get the listing of files on an ftp server, but when I use the dir as the file like this:
curl 'ftp://ftp.hacktic.nl/pub/various/winsong'
I get an error.
curl 'ftp://ftp.hacktic.nl/pub/various/winsong/'
I also get an error.
How should I do this?

-------------------------------------------------------------------
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 2014-04-09