1. Front-end
HFS 3
  • Introduction
  • SendList over SSE
  • Front-end
    • List files
      GET
    • Upload
      PUT
    • Upload
      POST
    • Delete
      DELETE
    • Create folder
      POST
  • Admin
    • misc
      • get config
      • set config
    • accounts
      • add account
      • update account
      • list accounts
      • delete account
      • list usernames
      • get account
      • list admins
      • safer update of the password
    • VFS
    • plugins
      • get plugin config
      • set plugin config
    • monitoring
    • log
  • Schemas
    • Schemas
    • DirEntry
    • inline_response_200
    • folder_body
    • Account
    • Date
  1. Front-end

Upload

POST
/{folder}
Equivalent to curl -F upload=@FILE FOLDER/

Request

Path Params

Header Params

Body Params multipart/form-data

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost/' \
--header 'x-hfs-anti-csrf: 1' \
--form 'file=@""'

Responses

🟢200File uploaded successfully
application/json
File uploaded successfully
Body

Example
{}
🟠400Bad request
Modified at 2026-03-24 12:02:39
Previous
Upload
Next
Delete
Built with