[Python] Is there a way to abort the uploading of flet.FilePicker.upload() with Minio/S3...

Discussão em 'Python' iniciado por Stack, Junho 10, 2025.

  1. Stack

    Stack Membro Participativo

    I'm using flet.FilePicker to make a web app that allow user to upload file to Minio/S3 server. It just simple use case like this:

    file_picker.upload(ft.FilePickerUploadFile(name=file.name,upload_url=upload_url)


    But the problem is how user can abort the uploading? If i use HTTP PUT call, it just simple to cancel the HTTP and clean the storage. But I can't find that mechanism of Flet. Is it possible and how to do it?

    Continue reading...

Compartilhe esta Página