---
title: "file/{DirName}/{Name}"
method: POST
path: "/api/file/{DirName}/{Name}"
tags: ["file"]
---

# file/{DirName}/{Name}

`POST /api/file/{DirName}/{Name}`

Uploads a file to the specified media directory. Supports optional query params `bs` (block size) and `sb` (start block) for fragment uploads on systems with large file requirements.

## Response `200`

Success

- object

## Changes

- **2026-05-13** `34a577bdabff` — 2 warning
  - deleted the `query` request parameter `bs`
  - deleted the `query` request parameter `sb`

[Change history](https://skmtc.dev/falconchristmas/apis/fpp-api/changes/api/file/:DirName/:Name/post.md)

---

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