Upload files to S3 Minio Storage
Upload files to S3 Minio Storage
There are several ways how to upload files to Minio storage. Choose the most suitable for you.
Use web browser
note
You can upload files only. It is not allowed to upload directories.
- Open S3 storage (Minio), e.g. https://app-s3.example.com/minio.
- Click on the + button in the right bottom corner and select Create Bucket.

- Click on + button in the right bottom corner and select Upload file.

- Set public policy for the bucket and files.
- Click on three dots on the needed bucket and select Edit policy
. - Add a new policy with Read and Write permissions.

- Click on three dots on the needed bucket and select Edit policy
- Check the results in the web browser at https://app-s3.example.com/minio/new-test-bucket.
Upload files to Linux server
- Log in to the INT server.
- Create a new directory under the INSTALL_DIR/minio/data/directory
tip
Do not use dots ".", underscore "_" symbols in the directory names.
```
mkdir -p INSTALL_DIR/minio/data/new-test-bucket
```
Copy the needed files to the created directory.
cp -a new_file.txt INSTALL_DIR/minio/data/new-test-bucketSet public policy for the bucket and files
s3 is an alias for minio. You can find it at INSTALL_DIR/minio_client_conf/config.json: "s3": { "url": "http://localhost:9000", "accessKey": "access_key", "secretKey": "secret_key", "api": "s3v4", "lookup": "auto" }INSTALL_DIR/tools/mc -C INSTALL_DIR/minio_client_conf/ policy --recursive public s3/new-test-bucketExample:
/opt/workfusion/tools/mc -C /opt/workfusion/minio_client_conf/ policy --recursive public s3/new-test-bucket Access permission for `s3/new-test-bucket` is set to `public`Check the results in the web browser at https://app-s3.example.com/minio/new-test-bucket
View uploaded files
As the result, you will see the uploaded files in the browser. They can be accessible from the Business Processes tasks.
