01-Quick note
Note
When TT Data Uploader uploads data, files are moved from the the data and recovery directories to the archive and failed directories. Existing files in the archive and failed directories are overwritten if they are in the way. For example, if the archive directory contains the file a.xml, and you add another file a.xml to the data directory for upload, the file in the archive directory will be overwritten after the upload is complete.
The queue
It is important to keep in mind that the sequence in which the files are uploaded matters. For example, some data in file b.xml may refer to a piece of data in a.xml. It is then important that file a.xml is up- loaded before b.xml.
The queue consists of files in the recovery directory and the data directory. All files in the recovery directory are queued before the files in the data directory. Within each directory, the files are sorted according to the last modified timestamp, with oldest files first.
The scheduler
TT Data Uploader comes with an integrated scheduler that is used to trigger data uploading. For example, if the schedule is set to every hour, the scheduler triggers upload of data at 01:00, 02:00, 03:00, and so forth.
Note that the scheduling will not be effective if the application is in the Suspended state.
States
TT Data Uploader has a set of states that is indicative of what has happened and what it will do next. The application may put itself into a state, or the user may force the application into a state.