Skip to main content

Directory Structure

Organizing your SFTP source directories makes it easier to route files to the correct Upload Template and keeps multi-agency or multi-feed workflows manageable.

Source Directories

Each SFTP Profile monitors a specific Source Directory on the remote server. When Auto-Sync runs, eCourtDate scans that directory for files matching the profile's keyword and blockword filters.

Multi-Feed Directory Layout

For agencies that upload more than one type of data, create a separate directory per feed:

/
├── hearings/
├── payments/
├── clients/
├── cases/
└── contacts/

Each directory is then assigned to its own SFTP Profile with the appropriate Upload Template.

Multi-Agency Layout

When a single SFTP server hosts files for multiple agencies, use a top-level directory per agency with subdirectories per feed:

/
├── county-a/
│ ├── hearings/
│ ├── payments/
│ └── clients/
├── county-b/
│ ├── hearings/
│ └── cases/
└── county-c/
└── hearings/

Mapping Profiles to Directories

Each SFTP Profile is linked to a specific Upload Template and Agency. The combination of directory path, filename keyword, and blockword ensures that files are routed correctly.

Example

SFTP ProfileSource DirectoryKeywordUpload TemplateAgency
County A Hearings/county-a/hearingshearingHearings ImportCounty A Court
County A Payments/county-a/paymentspaymentPayments ImportCounty A Court
County B Hearings/county-b/hearingshearingHearings ImportCounty B Court
County B Cases/county-b/casescaseCases ImportCounty B Court

In this layout, a file named 2024-06-01-hearing-export.csv placed in /county-a/hearings is picked up by the County A Hearings profile, processed through the Hearings Import template, and associated with the County A Court agency.

Tips

  • Keep directory names lowercase and use hyphens instead of spaces.
  • Avoid deeply nested structures. One or two levels of nesting is usually sufficient.
  • Use Filename Keywords as an additional filter when multiple file types may land in the same directory.

Need help? Contact the eCourtDate team at help@ecourtdate.com.