Skip to content

Upload File via SFTP​

POST
/sftp/upload

Uploads a file to a remote server via SFTP. The file content should be sent as the raw request body. Missing parent directories are created when the user is allowed to modify files. Requires an active session with SFTP capabilities.

Parameters​

Query Parameters

sessionToken*

Session authentication token

Type
string
Required
sessionId*

Active server session ID

Type
string
Required
path*

Remote destination path for the uploaded file

Type
string
Required

Responses​

Upload successful with file path and size

application/json
JSON
{
}

Playground​

Server
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Distributed under the MIT License