belbio / bel_resources

BEL resources and tools for namespaces, annotations, orthologs, taxonomy, etc and tool
https://bel-resources.rtfd.io
Apache License 2.0
2 stars 0 forks source link

Update FTP downloads to get file mod time #25

Closed wshayes closed 6 years ago

wshayes commented 6 years ago

Try using this library: http://ftputil.sschwarzer.net/trac/wiki/Documentation#retrieving-information-about-directories-files-and-links

to get file mod time for FTP servers that don't support MLSD.

This is needed to determine if we need to download the source database files for re-processing. Update bel_resources to use this in the utils section of bel_resources/tools/utils if it works.

davidchen commented 6 years ago

Updated under https://github.com/belbio/bel_resources/commit/493a149b518e37d711898125387ce186bb355b08.