I am trying to access an FTP (NCBI genomes bank) and loop through the files and read them.
I got the part where I can read a local file and I can connect to a FTP but I can't find what I should do to read files directly from the FTP (if possible without having to download it).
ftp = Net::FTP.new("ftp.ncbi.nlm.nih.gov")
ftp.passive = true
ftp.login
I found this but it's in Python and I am having trouble finding equivalent methods and libraries.
Thanks in advance for your help