---
title: "Upload files via multipart"
method: POST
path: "/operations/uploadfile"
---

# Upload files via multipart

`POST /operations/uploadfile`

Accepts multipart/form-data payloads and writes the uploaded files to the specified remote path.

## Query parameters

- `fs` string
- `remote` string
- `_group` string
- `_async` boolean

## Headers

- `Prefer` 'respond-async'

## Response `200`

Request succeeded returning an empty JSON object.

- object

## Other responses

- `202` — Request accepted for async processing. Poll /job/status with the returned jobid.
- `4XX` — Any error response (HTTP 4xx/5xx)
- `5XX` — Any error response (HTTP 4xx/5xx)

## Changes

> 21 revisions in range; 18 could not be searched.

- **2025-12-06** `30e239e76ba1` — 7 breaking, 1 warning, 1 info
  - the `query` request parameter `fs` became required
  - the `query` request parameter `remote` became required
  - the response property `input` became nullable for the status `4XX`
  - the response property `input` became nullable for the status `5XX`
  - …5 more

[Change history](https://skmtc.dev/rclone/apis/rclone-rc-api/changes/operations/uploadfile/post.md)

---

[API](https://skmtc.dev/rclone/apis/rclone-rc-api.md) · [All operations](https://skmtc.dev/rclone/apis/rclone-rc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rclone/rclone-rc-api/revisions/adc0c129da4f/schema)
