Skip to content

🐛 Bug Report: Upload Progress not being reported #58

@mariusbolik

Description

@mariusbolik

👟 Reproduction steps

    try {
      const upload = await storage.createFile('uploads', ID.unique(), file, [Permission.read(Role.any())], (uploadProgress) => {
        console.log('Progress', uploadProgress)
      });

      console.log("Upload completed", upload);
    } catch (error) {
      console.error("Error while uploading file: ", error);
    }
  };

👍 Expected behavior

The console.log in the callback should be updated, so I can report the upload progress to the user.

👎 Actual Behavior

Sadly, the callback isn't emitting any events. The file gets uploaded correctly.

🎲 Appwrite version

Cloud Beta

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions