MDU-PHL/emmtyper

Errors when updating database using make_db.py

MForofontov opened this issue · 0 comments

CDC FTP server anonymous credentials return an error (Python ftplib.error_perm: 530 Login authentication failed) in python and FileZilla, the other one is CDC FTP changed the file name from trimmed.tfa to alltrimmed.tfa thus returning the file not found.

I made changes to the make_db.py to fix both of the issues, by changing ftplib package to urllib, thus using directly the FTP link to download the right file, avoiding the anonymous authentication issue.
Available at : https://github.com/MForofontov/Fixed_emmtyper_updated_db/blob/main/make_db.py