Question

How to get progress informations for spaces while uploading big file

I’m trying to use Digital Ocean Spaces as file storage for my Flutter application.

In general I can start upload and download operations. But I can’t find a way to get progress informations.

I tried to set a bucket event like this:

void bucketListener() {
    // Listener
    final poller = minio.listenBucketNotification(bucket, events: [
      's3:PutObject:*',
    ]);
    poller.stream.listen((event) {
      print(event);
      print('--- event: ${event['eventName']}');
      // Get.find<EntriesController>(tag: "newEntry").videoUploadProgress[0];
    });
  }

But this listener not fires. Then here I found that Digital Ocean does not support Bucket Informations: https://developers.digitalocean.com/documentation/spaces/

Is there a way to get the upload progress when using the Digital Ocean storage? Is there a specific event I can use?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!