# WEB\_UPLOAD

## Overview

This CO event will be triggered when the 'Web\_Upload' [profile](https://docs.helmut.de/helmut4-releases/helmut4-components/helmuthk/profiles) of an asset ingest is utilized.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/JyG7wknpdQNGRymLfdhZ/image.png" alt=""><figcaption><p>Cosmo Web Upload - Upload assets</p></figcaption></figure>

The 'Web\_Upload' can be accessed while viewing a project within Cosmo; at the top right, there is a dedicated 'Upload Assets' button. When clicked, a new overlay will open, providing various input options.

## Uploading an asset

### Difference import asset vs upload asset

The significant distinction between Web Import (import asset) and Web Upload (upload asset) is quite straightforward.

Web Import manages any asset on a local system level, accessing them through a local file chooser. This enables the setup of fast and streamlined import workflows.

On the other hand, Web Upload utilizes a different approach to upload and ingest assets. In this scenario, assets are uploaded via the browser in advance. Once the upload process is complete, the actual stream starts.

#### Advantages and Disadvantages of Web Import

**Pros:**

* Access on a client/host level
* Fast, no further processing required
* Jobs can be picked up as soon as possible

**Cons:**

* Assets might not be reachable for all render nodes (permission/availability)
* Local file chooser

#### Advantages and Disadvantages of Web Upload

**Pros:**

* Guaranteed access for any render node
* Ingest client doesn't need access to the actual storage
* Upload of assets via browser
* Processing of web links

**Cons:**

* Slow, upload takes additional time
* Jobs can be picked once the upload is done

### **Upload & Ingest Workflow**

After clicking the 'Upload Asset' button, an overlay opens. Please select the dedicated profile for processing. As profiles may use different [metadata sets](https://docs.helmut.de/helmut4-releases/helmut4-components/helmutio/metadata/metadata-set), the metadata section may change.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/sThY9qP0tbbgiBjhtFf4/image.png" alt=""><figcaption></figcaption></figure>

For importing assets, three options are available to select the desired files:

1. **Add Files:**
   * Allows the selection of assets individually (single or multiple)
2. **Add Folders:**
   * Allows the selection of folders individually (single or multiple)
3. **Add Link:**
   * Allows to add a url link to the list, by clicking the + button

It is not possible to select assets and folders together in one step.

Clicking either of the two buttons opens a *browser-based* file chooser, which starts at the root point of your client. The file chooser will remember the last directory used on the next opening.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/jwblziww9MAKXz1rKr7Q/image.png" alt=""><figcaption><p>Cosmo Web Upload - File selection</p></figcaption></figure>

After clicking the 'Open' button, the overlay windows will close, and you will return to the Web Import window. Repeat the steps for additional assets if needed.

Once the selection is complete, click the 'Upload Assets' button.

### Upload monitoring

For each asset, an upload job is generated and can be accessed through the dashboard menu.

The upload progress is displayed both in the dedicated progress circle of the job and in the top-right corner of the window.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/SwWykVLln5KkVoMZvbFg/image.png" alt=""><figcaption><p>Cosmo Web Upload progress in dashboard</p></figcaption></figure>

The upload monitor presents the queue of active and pending upload jobs.

<figure><img src="https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/gjxLjAI284hcuwFj3kwQ/image.png" alt="" width="353"><figcaption><p>Web Upload - upload monitor</p></figcaption></figure>

Clicking on the orange circle button opens an overlay that displays more detailed information.

It is possible to cancel individual assets or the entire upload queue.

![Cosmo Web Upload - detailed upload information](https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/Pvhmhq37dSCMo32X4GPh/image.png)

![Upload Assets](https://content.gitbook.com/content/cJYkTyk9qgh7aCR6dHIm/blobs/MxwT3FQZzPwfvXsOMuzl/Bildschirmfoto%202022-08-18%20um%2017.25.25.png)

### Asset List

Displays the selected asset to be uploaded.

### Remove Icon

Can be used to remove one or all asset(s) from the list of assets to be uploaded.

### Attached Metadata

Displays all metadata records based on the selected profile. The definition takes place via the profile, which is created in HIO.

#### Metadata Order for Metadata Set

Please refer to [Metadata Order for Metadata Set](https://docs.helmut.de/helmut4-releases/helmutio/metadata/metadata-set#metadata-order-for-metadata-set) for further information.

### Host Assignment

{% hint style="warning" %}
Any stream with this trigger must have "CLIENT" as the host type. Since this stream needs to be assigned to any user/client, server execution is not possible.
{% endhint %}
