# Available Functions

## Folder Functionality

For an existing 'Type' (see [overview](https://t1t.gitbook.io/readmycards/file-explorer/overview "mention")), you can create a new folder within the root directory:

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2F7JNVRUUUjhfCXYoRZ15x%2FScreenshot%202023-07-16%20at%2023.39.17.png?alt=media&#x26;token=64bd45f6-ce22-43e5-bc05-dbbf0ef72292" alt=""><figcaption><p>Available Options</p></figcaption></figure>

<table><thead><tr><th width="94.33333333333331">Nr</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td>Type - linked to local (root)-folder</td><td>Folder acting as an isolated file space for the web application</td></tr><tr><td>2</td><td>Upload File</td><td>Upload a file <strong>from your web application</strong> to the local file system</td></tr><tr><td>3</td><td>Create Folder</td><td>Create new folder within the selected 'Type'</td></tr><tr><td>4</td><td>Create Type</td><td>Add another/new Type mapping</td></tr><tr><td>5</td><td>Delete Type</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2757">❗</span>Deletes only the virtual mapping, NOT the real data from the local device</td></tr></tbody></table>

## Upload File

A file can be uploaded to the web application from the local device.

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2Fg0u3eQ8lvOtBG0zKY86X%2FScreenshot%202023-07-16%20at%2023.46.11.png?alt=media&#x26;token=734cd19b-aedd-4469-b784-c89241959919" alt=""><figcaption><p>Upload File from Web Application to Local Device</p></figcaption></figure>

{% hint style="danger" %}
When copying files to the linked folder (linked to the 'type' definition), the files will also appear/be accissable in/for the web applciation. Remember the web application can access all data from the root folder recursively.
{% endhint %}

After selecting and confirming the file upload, the file will be show in the application overview

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2F8kec74dNhUmDNmTaWRu1%2FScreenshot%202023-07-16%20at%2023.53.17.png?alt=media&#x26;token=d542f421-b1b7-4d66-ae64-4ec0ad33d4c7" alt=""><figcaption><p>Upload Demo File</p></figcaption></figure>

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2FMOLmgiFGH0T9yGxPZlYQ%2FScreenshot%202023-07-16%20at%2023.54.37.png?alt=media&#x26;token=2667365d-40a3-4933-95a2-8637fdfad377" alt=""><figcaption><p>File Uploaded to Local Device</p></figcaption></figure>

With a file selected, additional options are available:

* download file
* print file
* rename file
* move file
* copy file

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2FoPv47wlXS7M9Yj5Rg93Z%2FScreenshot%202023-07-16%20at%2023.56.08.png?alt=media&#x26;token=3b2ee0ae-e983-4a52-b97f-4cbd15f96f5c" alt=""><figcaption><p>File Options</p></figcaption></figure>

## Download File

The meaning of 'Download File' is from the perspective of the local device - aka - the local device downloads a file form the web application (upload and download MUST be seen from the perspective of the local device).

When donwloading a a file, the user can perform this off course in any system folder.

## Print File

The Trust1Connector has a printer module enabled, which means that a printer (available on the operating system) can be selected and triggered for a print job.&#x20;

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2F24sXdMh1jjjXlKHYI1Ce%2FScreenshot%202023-07-17%20at%2000.08.50.png?alt=media&#x26;token=441d12d7-b7a1-4476-b888-13c472064995" alt=""><figcaption><p>Print File - Show available Printers</p></figcaption></figure>

## Rename File

Rename a file from the web application as would be the case using the local operating system.

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2F8mHF4CIDidVjypnYWREJ%2FScreenshot%202023-07-17%20at%2000.12.54.png?alt=media&#x26;token=c4c7e25e-7b19-48a6-b635-c5c38388386f" alt=""><figcaption><p>File Rename</p></figcaption></figure>

## Move File

Move a file from the web application as would be the case using the local operating system, but with the additional restriction that this can only be done between accessible folders, or within the same folder. Moving files to unaccessible folders are not allowed and will be prevented from the Trust1Connector.

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2FlmaYomk3lUHE1k2Qd8yG%2FScreenshot%202023-07-17%20at%2000.10.15.png?alt=media&#x26;token=c4662412-5e14-4a3f-b726-e1f7e443a59a" alt=""><figcaption><p>Move File can only be done between defined types</p></figcaption></figure>

## Copy File

Copy a file from the web application as would be the case using the local operating system, but with the additional restriction that this can only be done between accessible folders, or within the same folder. Copying files to unaccessible folders are not allowed and will be prevented from the Trust1Connector.

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2FttwshO79LmTZDNxOSNId%2FScreenshot%202023-07-17%20at%2000.11.14.png?alt=media&#x26;token=4cd790c2-86ca-43db-a4d2-b7385851d3c3" alt=""><figcaption><p>Copy File can only be done between existing types</p></figcaption></figure>
