Steven Nguyen

Results 1187 comments of Steven Nguyen
trafficstars

I also tried to upload a file using the [playground-for-flutter](https://github.com/appwrite/playground-for-flutter), but the uploaded file seemed to be invalid after downloading it again.

@DobreRadu, would you be able to provide the original file you're trying to upload?

@DobreRadu, I was able to reproduce, but @lohanidamodar will need to test to see if he can reproduce.

@grisoftumut, thanks for your question, but please either create a new issue or join us on [Discord](https://appwrite.io/discord). It can be confusing to talk about different topics in one issue.

I tested this using the [playground-for-python](https://github.com/appwrite/playground-for-python) (swapping `InputFile.from_path()` with `InputFile.from_bytes()`) and it worked. I switched over to the [playground-for-node](https://github.com/appwrite/playground-for-node) and did the same thing, but I got `application/octet-stream` even though...

@CEOSiyris, for now, instead of `InputFile.fromBuffer(buffer, 'name.png')` try this: ```node new InputFile(Readable.from(buffer), "name.png", Buffer.byteLength(buffer)) ```

@AnirudhDaya, thanks for your interest! 🙏 Unfortunately, this is a read only repo and people shouldn't be developing directly against it so it doesn't quite make sense to add gitpod...

For the static analysis problem: > INFO: Avoid using web-only libraries outside Flutter web plugin packages. we can try using [universal_html](https://stackoverflow.com/questions/60646793/avoid-using-web-only-libraries-outside-flutter-web-plugin-packages).

Thanks for your interest, @niteshsh4rma! Please make sure to make the change in the [SDK Generator](https://github.com/appwrite/sdk-generator) repo.

@pkc000pkc, why do you need to add additional attributes to Document? Adding `[key: string]: any` isn't really safe because you lose out on a lot of the type checking and...