HFS 3
  1. Front-end
HFS 3
  • Introduction
  • 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
  1. Front-end

Upload

PUT
/{folder}/{file}
Front-end
Equivalent to curl -T FILE URL/

Request

Path Params
folder
string 
required
The folder path where the file will be uploaded
file
string 
required
The uploaded file name
Query Params
existing
enum<string> 
optional
if you want to force overwrite of an existing file, but you need to disable the "uploads don't overwrite" option, OR have "delete" permission on the file
Allowed values:
overwriteskiprename
Example:
overwrite
Body Params application/octet-stream
Not configured

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift

Responses

🟢200File uploaded successfully
application/json
Body
object {0}
Example
{}
Modified at 2025-06-20 14:28:28
Previous
List files
Next
Upload
Built with