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

# Upload file to directory

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

Uploads a file to the specified media directory.

## Query parameters

- `bs` integer
- `sb` integer

## Response `200`

File uploaded successfully

- object

---

[API](https://skmtc.net/falconchristmas/apis/fpp-api.md) · [All operations](https://skmtc.net/falconchristmas/apis/fpp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/falconchristmas/fpp-api/versions/167593eed748/schema)
