Skip to content

Reporting file names

James Williamson edited this page Jul 6, 2018 · 1 revision

If Ftp integration has been set up to do so, then it can drop report/feedback files onto the FTP site of which they came from. For this to be possible, the integration must be set up in re-active mode.

How the files move?

When a file is picked up from the Upload folder it can take time to be processed. At the start of this, a feedback/report file is dropped into reports/in_progress. As the import progresses, the file in this directory would have data of the on-going import feed back into it.

The file name during this time will be formatted as shown below:

{filename_being_imported}__{BookingBugImportReference}__report.json

After the import process has finished and all updates to the feedback file have been completed, then it will be moved to the completed folder. The name will then be changed to the one below:

{filename_being_imported}__{BookingBugImportReference}__report.json

An example of this would be: a-file-name-2018-06-01__h8fha-f3ffg-k29fa-1nrof__report.json

+-- imported
|   +-- {filename_being_imported}.json
+-- reports
|   +-- completed
|   |   +-- {filename_being_imported}__{BookingBugImportReference}__report.json
|   +-- in_progress
|       +-- IN_PROGRESS__{filename_being_imported}__{BookingBugImportReference}__report.json

Note

  • A double underscore is used in the filenames to act as a delimiter.

Clone this wiki locally