# 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](https://docs.tonic.ai/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan#sensitivity-scan-manual) or [set up scheduled sensitivity scans](https://docs.tonic.ai/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan#sensitivity-scan-schedule).

To enable automatic sensitivity scans, set the [environment setting](https://docs.tonic.ai/app/admin/environment-variables-setting) `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](https://docs.tonic.ai/app/workflows/webhooks) that are triggered by data generation jobs.<br>
