Skip to main content
Version: 10.2.4

Upload files to S3 MinIO storage

There are several ways how to upload files to MinIO storage. You can upload files to the storage in a web browser or via the Master Server.

Upload files in web browser​

note

You can upload files only. It is not allowed to upload folders.

To upload files in a web browser, do as follows:

  1. Open S3 MinIO storage, for example, https://app-s3.example.com/minio.

  2. Click the + button in the bottom right corner and select Create Bucket.

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

  4. Set a public policy for the bucket and files.

    1. Click the three-dot button next to the bucket name and select the Edit policy option.

    .

    1. Add a new policy with the Read and Write permission.

  5. Check the results in your web browser, for example, https://app-s3.example.com/minio/new-test-bucket. You can access uploaded files from Business Process tasks.

Upload files to Linux server​

  1. Log in to the Master Server.

  2. Go to INSTALL_DIR/minio/data and create a directory.

    tip

    Do not use the . and _ symbols in a directory name.

    mkdir -p INSTALL_DIR/minio/data/new-test-bucket
  3. Copy the needed files to the created directory.

    cp -a new_file.txt INSTALL_DIR/minio/data/new-test-bucket
  4. Set a public policy for the bucket and its 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-bucket

    Example:

    /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`
  5. Check the results in your web browser, for example, https://app-s3.example.com/minio/new-test-bucket. You can access uploaded files from Business Process tasks.