I would like to download all the txt files from a directory that is located an FTP server. The directory has a very complex structure, that consists in many sub-directories. Each subdirectory has a md5sum.txt
file.
How can I write in script that recursively download the md5sum.txt
from each sub-directory? To be more precise :
<> the directory is :
http://ftp.ebi.ac.uk/pub/databases/spot/eQTL/sumstats/
<> a sub-directory with a txt file :
http://ftp.ebi.ac.uk/pub/databases/spot/eQTL/sumstats/Alasoo_2018/exon/