1. Front-end
HFS 3
  • Introduction
  • SendList over SSE
  • Front-end
    • List files
      GET
    • Upload
      PUT
    • Upload
      POST
    • Delete
      DELETE
    • Create folder
      POST
    • Refresh session
      GET
    • Login
      POST
    • Login SRP step 1
      POST
    • Login SRP step 2
      POST
    • Logout
      POST
    • Subscribe to notifications
      GET
    • File details
      GET
    • Rename entry
      POST
    • Move files
      POST
    • Copy files
      POST
    • Set comment
      POST
    • Folder size
      GET
    • Folder size progress
      GET
  • Admin
    • misc
      • get config
      • set config
    • accounts
      • add account
      • update account
      • list accounts
      • delete account
      • list usernames
      • get account
      • list admins
      • Change password with SRP
    • VFS
    • plugins
      • get plugin config
      • set plugin config
    • monitoring
    • log
  • Schemas
    • Schemas
    • DirEntry
    • inline_response_200
    • Session
    • folder_body
    • SrpStep1
    • UploadResult
    • Account
    • MultipartUploadResult
    • FolderSize
    • UploadMeta
    • Date
    • FileDetails
    • FileDetailsResponse
    • MoveFilesResponse
  1. Front-end

Upload

POST
/{folder}
Upload one or more files as multipart/form-data, equivalent to curl -F upload=@FILE FOLDER/. Content-Disposition belongs to each multipart file part; raw application/octet-stream requests must use PUT instead.

Request

Path 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 'http://localhost/' \
--form 'upload=@""'

Responses

🟢200File uploaded successfully
application/json
file uploaded successfully
Bodyapplication/json

Example
{
    "uris": [
        "string"
    ],
    "errors": [
        "string"
    ]
}
🟠400Bad request
Modified at 2026-11-05 17:14:33
Previous
Upload
Next
Delete
Built with