> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/documentation/features/upload-images/upload-large-files-to-sharinpix.md).

# Upload Large Files To SharinPix

## Overview

In this article, we will demonstrate how to use a multipart image upload on a SharinPix Album or SharinPix Single Image. To do so, we will:

* [Create a SharinPix Permission to set Multipart Upload](#creation-of-sharinpix-permission)
* [Assign the Permission to a SharinPix Component](#assign-the-sharinpix-permission-to-the-album-component)

SharinPix uses a feature called **Multipart Upload** for large file transfers: breaking a large file into smaller parts, uploading them in parallel for speed, and reassembling them in Amazon S3.

The key benefits include:

* Improved Throughput/Speed when uploading large files
* Enhanced Reliability and Fault Tolerance
* Efficient Memory Usage

{% hint style="warning" %}
**Note:**&#x20;

* If you do not frequently upload files larger than **100 MB**, do not activate this, as it will affect performance
* **Before using this feature, ensure you have the latest SharinPix package installed.** [*How to upgrade SharinPix package*](/faqs/how-to-update-sharinpix-package-from-the-appexchange.md)
  {% endhint %}

## Creation of SharinPix Permission

* In [SharinPix Permissions](/documentation/access-and-security/sharinpix-permission-object-how-to-create-and-assign-custom-permission.md), create a new record or edit an existing permission.
* Open the Upload section and check Multipart Upload.

![](/files/0zRN8lJ06bb8bE9Y5GU5)

## Assign the SharinPix Permission to the Album component

* On a [SharinPix Album](/documentation/lightning-web-component/sharinpix-album-lwc.md), add the **ID** or **Name** of the SharinPix Permission record, which includes the maximum file size.
* In this example, the custom permission was named **Upload Multipart**. It has been set in the **Custom Permissions ID or Name** parameter of a *SharinPix Album* component.

![](/files/WiZc3Tl17rHLoVnH8PiQ)

{% hint style="success" %}
**Tip:**\
\
The above will also work for a [SharinPix Single Image](/documentation/lightning-web-component/sharinpix-single-image.md). The custom permission created should then be defined as a Single Image Permission.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sharinpix.com/documentation/features/upload-images/upload-large-files-to-sharinpix.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
