Upload file
upload_fileUpload a file from your local machine to a specified CloudSee Drive folder. If the name is already used, it automatically creates a timestamped name, and files larger than 8 MiB are split into parts.
Instructions
Upload a file into a folder of a drive. The file is read from the machine running this server — which, over this connection, is your own machine — so pass its path. Requires the drive (bucketName). Files up to 8 MiB are sent in one piece; larger ones are split into parts automatically. If the name is already taken, a timestamped name is used instead, so an existing file is never overwritten. (Write access is authorized server-side by the public API's RBAC — a denial means the API key lacks this tool's scope, not a tool failure.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | Name to store the file as. Defaults to the local file's name. | |
| localPath | Yes | Path to the file to upload, on the machine running this server. Copy the name exactly — invisible characters in a file name are a common cause of 'not found'. | |
| bucketName | No | The CloudSee drive (S3 bucket) name to operate in, e.g. 'max-2778abc0' — find it in the CloudSee dashboard. Required unless CLOUDSEE_DEFAULT_BUCKET is configured on the server. | |
| storageClass | No | Optional S3 storage class (e.g. STANDARD, INTELLIGENT_TIERING). | |
| destinationFolder | No | Destination folder/prefix in the drive. Omit or empty = drive root. |