---
title: Uploading files
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Xperience allows you to upload files one by one or select multiple files to upload at once. This can be useful if you need to upload a greater number of files at once, or if you need to perform the task quickly. Uploading multiple files at once is available for:

- **Media files** – files in [media libraries](https://docs.kentico.com/13/managing-website-content/working-with-files/media-library-files.md) (e.g. **Media libraries -> Edit () _media library_ -> Files**).
- **Meta files** – files related to specific objects (e.g. [email template](https://docs.kentico.com/13/configuring-xperience/managing-email-templates.md) attachments in **Email templates -> Edit () _email template_ -> General**).
- [Page attachments](https://docs.kentico.com/13/managing-website-content/working-with-files/page-attachments/attaching-files-to-pages.md) – files attached to pages (e.g. **Pages -> select _page_ -> Properties -> Attachments**).

## Requirements

The following conditions must be fulfilled to allow uploading of multiple files:

- The administration application has the Write [permission](https://docs.kentico.com/13/installation/troubleshooting-installation-issues.md) for the temporary file repository (**CMS/App\_Data/CMSTemp/MultiFileUploader** folder).
- The client browser supports HTML 5

## How uploading files works

To upload files to Xperience:

1. Select one or more files from a given location.

   ![Uploading multiple files](https://docs.kentico.com/docsassets/13/uploading-files/uploading_multiple_files.png "Uploading multiple files")
2. The files are downloaded as temporary files to a repository (_CMS\App\_Data\CMSTemp\MultiFileUploader_).

   > **Note:** To successfully upload your files, avoid refreshing or causing a post back event on the page until the file upload process is complete.
3. When the upload is finished, the uploaded files can be manipulated in the system:

> **Note:** If a post back occurs while uploading multiple files or another error occurs, the temporary files remain in the temporary repository.
>
> The system provides the **Delete old temporary upload files** [scheduled task](https://docs.kentico.com/13/configuring-xperience/scheduling-tasks.md) (configurable in the **Scheduled tasks** application), which by default deletes all temporary files older than 2 hours. You can adjust this time span by changing the value of the **CMSDeleteTemporaryUploadFilesOlderThan** key (you need to manually add the key into the _web.config_ file of the administration project).
