This question already has an answer here:
mget * but it only downloads files not folders. Is there a "download all" option?
To recursively retrieve directories, you need to use the
If this is meant to be run from a scheduled job, you need to add those commands to a batch file and use the
Perhaps the best way is to use wget or curl. Both are available in the CentOS repositories. Both are swiss army knife programs, you'd need to read the manual pages and see which one feels more natural.