upload
Upload a file to a temporary location on the Plesk server. Returns the file path for use in subsequent commands.
Instructions
Uploads a file with the given content to the Plesk server and returns the file path.
The file will be uploaded to a temporary location returned by this tool and can be used in subsequent commands.
The file is uploaded as 0600 psaadm:psaadm, so make sure to set proper permissions and ownership after moving it.
For example, subscription files should typically have 0644 $user:psacln. Make sure to set both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content of the file to upload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |