# Import a file from a storage

### Navigate in a remote file storage connection and create a dataset

To create a dataset from a Remote file storage connection, click on "Import a new file from this storage". You will then be able to:

### **Select a File or Folder**

* You can specify the path to a single file or a folder on the SFTP server.
* If a folder is selected, the connector will list all entries within the folder.

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-5da5fb9292c350a2f4ceddc7bb9983eee2a4a979%2FCapture%20d%E2%80%99e%CC%81cran%202025-04-23%20a%CC%80%2015.51.46.png?alt=media" alt=""><figcaption><p>Remote file storage navigation</p></figcaption></figure>

### Create a new dataset from a file

After adding a file from a file storage system by clicking on the `+` icon at the right of the file named, you'll be redirected to an interface where you can configure how Toucan will interpret the file.

{% hint style="info" %}
the file type will be pre-filled if Toucan guess it from the file extension, otherwise it must be specified manually
{% endhint %}

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-3aa02e28f72ba4ac8682a9d1f37f85646a1e5cf6%2FCapture%20d%E2%80%99e%CC%81cran%202025-04-23%20a%CC%80%2015.11.14.png?alt=media" alt=""><figcaption><p>Create a dataset from a file located in a file storage</p></figcaption></figure>

in this interface, you can:

* view the file path (which cannot be modified)
* configure the file type (csv, parquet, excel, json, geojson).

{% hint style="warning" %}
Please note that if the file type you choose does not match the system file type, you will receive a Toucan error.
{% endhint %}

Once the configuration is complete, you can click on `Preview` or `Validate` to create a dataset from this file.

## Create a dataset from a file located in a remote file storage

The dataset created from this file can be **stored** (downloaded in Toucan) or live (read directly from the file storage system).
