---
title: "Move file"
method: POST
path: "/api/file/move/{fileName}"
tags: ["file"]
---

# Move file

`POST /api/file/move/{fileName}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/file/move/{fileName}`
- Auth: none declared

Moves the specified file from the `uploads` directory to the correct media subfolder based on its extension, returning a status of `OK` or an error message if not successful.

## Response `200`

File moved to media directory

- object

## Changes

- **2026-10-19** `eab32b805396`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/falconchristmas/apis/fpp-api/changes/api/file/move/:fileName/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.dev/falconchristmas/apis/fpp-api/revisions/1b633540718c?raw)
