# Structural differences and limitations with the file connector

{% hint style="info" %}
**Required license:** Professional or Enterprise
{% endhint %}

## No automatic sensitivity scans by default

By default, Structural does not run automatic sensitivity scans on file connector workspaces. You must [run the sensitivity scan manually](/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan.md#sensitivity-scan-manual) or [set up scheduled sensitivity scans](/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan.md#sensitivity-scan-schedule).

To enable automatic sensitivity scans, set the [environment setting](/app/admin/environment-variables-setting.md) `TONIC_ENABLE_FILES_PRIVACY_SCAN_AUTORUN` to `true`. You can configure the setting from the **Environment Settings** tab on **Structural Settings**.

## No workspace inheritance <a href="#file-connector-no-workspace-inheritance" id="file-connector-no-workspace-inheritance"></a>

File connector workspaces do not support workspace inheritance.

## Table mode limitations <a href="#file-connector-table-modes" id="file-connector-table-modes"></a>

In a file connector workspace, you can only use the following table modes:

* De-Identify
* Truncate

When a file group is assigned Truncate mode, Tonic Structural ignores that file group during data generation.

## Generator limitations <a href="#file-connector-generator-limitations" id="file-connector-generator-limitations"></a>

The Conditional generator can only be used in a file group that contains CSV files.

Otherwise, the available generators are based on the assigned data type:

* For CSV data, each column is assigned the `text` data type.
* For JSON, the table contains a single column that is assigned the `json` data type.
* For XML and HTML, the table contains a single column that is assigned the `xml` data type.

## No subsetting <a href="#file-connector-no-subsetting" id="file-connector-no-subsetting"></a>

File connector workspaces do not support subsetting.

## No upsert <a href="#file-connector-no-upsert" id="file-connector-no-upsert"></a>

File connector workspaces do not support upsert.

## No output to a container repository <a href="#file-connector-tonic-limitations-containerization" id="file-connector-tonic-limitations-containerization"></a>

For file connector workspaces, you cannot write the destination data to a container repository.

## No post-job scripts <a href="#file-connector-limitations-no-post-job-scripts" id="file-connector-limitations-no-post-job-scripts"></a>

For file connector workspaces, there is no option to run post-job scripts after a job.

You can create [webhooks](/app/workflows/webhooks.md) that are triggered by data generation jobs.<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonic.ai/app/setting-up-your-database/file-connector/connectors-file-tonic-differences.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
