I am using cURL to try to download all files in a certain directory.
Here's what my list of files looks like:
I have tried to do in bash script: iiumlabs.[].csv.pgp
and iiumlabs*
and I guess cURL is not big on wildcards.
curl -u login:pass ftp.myftpsite.com/iiumlabs* -O
Question: How do I download this directory of files using cURL?
wget
with-r
and maybe some other options instead?curl
can be made to do it with some scripting around it, but there are other tools that are better suited.ftp
with a script file tomget
all the files?