List Directory Contents
List files and folders in a directory.string
required
The server identifier
string
Directory path to list (default:
/)Response
string
File or directory name
string
Octal file permissions
string
Human-readable file permissions
integer
File size in bytes
boolean
Whether this is a file (false for directories)
string
MIME type of the file
Read File Contents
Get the contents of a file.string
required
Path to the file to read
Response
Returns the raw file contents astext/plain. Maximum file size is configurable (default 5MB).
Write File Contents
Write or update file contents.string
required
Path to the file to write
string
required
The file contents (sent as request body)
Response
Returns204 No Content on success.
Download File
Generate a one-time download URL for a file.string
required
Path to the file to download
Response
string
Signed URL for downloading the file (valid for 15 minutes)
Upload File
Get a one-time upload URL.Response
Create Directory
Create a new directory.string
required
Name of the directory to create
string
required
Parent directory path
Response
Returns204 No Content on success.
Rename Files
Rename or move files and directories.string
required
Base directory for the operations
array
required
Array of rename operations with
from and to pathsResponse
Returns204 No Content on success.
Copy File
Copy a file to a new location.string
required
Path to the file to copy
Response
Returns204 No Content on success. Creates a copy with ” copy” appended to the filename.
Delete Files
Delete one or more files or directories.string
required
Base directory for the operations
array
required
Array of file/directory names to delete
Response
Returns204 No Content on success.
Compress Files
Create a compressed archive from files and directories.string
required
Base directory for the operations
array
required
Array of files/directories to include in the archive
Response
Decompress Archive
Extract a compressed archive.string
required
Directory containing the archive
string
required
Archive filename to extract
Response
Returns204 No Content on success.
Change Permissions
Update file or directory permissions.string
required
Base directory for the operations
array
required
Array of objects with
file (path) and mode (octal permissions)Response
Returns204 No Content on success.
Pull Remote File
Download a file from a remote URL to the server.string
required
URL of the file to download
string
required
Target directory on the server
string
Custom filename (optional, uses URL filename if not provided)
boolean
Use Content-Disposition header for filename (default: false)
boolean
Download in foreground (default: false for background)
Response
Returns204 No Content on success. The download happens asynchronously in the background.