upload_file
Uploads a file to the Viya Files Service by providing file name, content, and optional MIME type. Enables storing files for use in SAS programs.
Instructions
Upload a file to the Viya Files Service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | Name for the file. | |
| content | Yes | File content as a string. | |
| content_type | No | MIME type (default 'text/plain'). | text/plain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||