---
title: "Upload"
method: POST
path: "/v2/filesystem/upload"
tags: ["FileSystem"]
---

# Upload

`POST /v2/filesystem/upload`

Upload a file to the server.

## Headers

- `x-ms-connection` string, required
- `x-ms-target` string, required
- `x-ms-options` string, required

## Response `200`

The operation was successful or the response payload contains relevant error information.

## Other responses

- `400` — The passed in information is invalid
- `408` — The operation timed out.
- `500` — An unexpected error occurred

## Changes

- **2024-08-23** `eeda0fd8cbae` — 1 breaking, 1 warning
  - added the new required `header` request parameter `x-ms-options`
  - deleted the `header` request parameter `x-ms-mode`
- **2024-08-07** `559d463e1741` — 1 info
  - endpoint added
- **2023-05-02** `e285a38b6ca1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/opcpublisher/changes/v2/filesystem/upload/post.md)

---

[API](https://skmtc.dev/azure/apis/opcpublisher.md) · [All operations](https://skmtc.dev/azure/apis/opcpublisher/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/opcpublisher/revisions/8eac19a554d6/schema)
