Configure the uploaded file storage location

By default, any files that are uploaded to Job Ticketing Ticketing, are stored in the following location:

<install path>/job-ticketing/data/files

You can, however, change this storage location. To change the storage location:

  1. Stop the Job Ticketing service.
  2. Open the following file in a text editor:

    <install path>/job-ticketing/config/application.properties

  3. Locate the following line in the file:

    job-file-store-location=<storage location>

  4. Change <storage location> to your required location.

    This can be:

    • a relative path from the <install path>/job-ticketing/ folder. For example, job-file-store-location=data/customer-files
    • an absolute path. For example, job-file-store-location=c:/data/job-ticketing/customer-files
    IMPORTANT

    In Windows, to separate the folders in the path, you can use either:

    • a single forward slash—For example, job-file-store-location=c:/data/job-ticketing/customer-files.
    • double back slashes—For example, job-file-store-location=c:\\data\\job-ticketing\\customer-files.
  5. Save the file.
  6. Restart the Job Ticketing service.
TIP
  • If you have existing files in the default location, you need to manually move them to the new location.
  • Customer files are not automatically removed when an order is completed or canceled. You should allow sufficient space for Job Ticketing files and include a cleanup task in your regular maintenance.