Property | Mandatory field | Description | Type | Filling example | Note | |
---|---|---|---|---|---|---|
Action | Upload file | Yes | The action reads a file on the local file system of the agent under which the action is launched and saves it to the file storage | Before uploading a file, the action must connect to the file store using the endpoint and access token it receives from the agent, which in turn receives them from the configuration service | ||
Parameters | File path(s) | Yes | An array in which each element contains the path to a file on the local file system of the agent under which it was saved | Robin.FilePath | [ C:\Users\<User>\Application Data\Robin Platform\2.0.0\Runs\Host\User\<task_execution_id_id>\in\CC28BA9D-346B-4743-99FE-2AE5938030F6\File.txt, C:\Users\<User>\Application Data\Robin Platform\2.0.0\Runs\Host\User\<task_execution_id_id>\in\CC28BA9D-346B-4743-99FE-2AE5938030F6\File2.txt, ] | The action should select the filenames under which the files are stored on the local file system and pass the array of filenames to the service that will work with MinIO The POST method must be used |
Result | Remote file(s) | Yes | JSON object, which is an array in which each element contains a set of meta information about the file (id, name, content type, and location of the file). | Robin.RemoteFile | [ | The path under which each file was saved to the file storage file system is generated by the service itself, which works with MinIO |