-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filename mismatch #50
Comments
I believe the C files are incremental files. dtd2mysql will try to find the last full refresh ("F"), reset the DB tables and then apply incremental updates. |
Any idea how to get the last full refresh? It would be nice of them to provide that when you first sign up! |
When I log into data.atoc.org I get ttis312.zip for timetables and RJFAF312.zip for fares |
I'd recommend you ask about signing up for DTD |
I have signed up. I presume I'll get the F files when one is released or I prompt them, which I just have :) |
It turns out they send you only test files initially. You then need to log in via browser to confirm the test files have been received ok before they send you real files. |
The filenames for the files from ATOC seem to be ignored. They are:
Timetable RJTTC345.ZIP
Routeing RJRG0281.ZIP - works
Fares RJFAC280.ZIP
Line 64 of DownloadCommands.ts seems to be the culprit:
const lastRefresh = dir.findIndex(i => i.filename.charAt(4) === "F" || i.filename.startsWith("RJRG"));
The text was updated successfully, but these errors were encountered: