[Python] Is there a way to cancel/abort Flet.FilePicker.update() when use it with Minio/s3...

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

  1. Stack

    Stack Membro Participativo

    i'm a newbie to Flet and i can't solve this problem. After the command:

    file_picker.upload([FilePickerUploadFile(name=filename,upload_url=presigned_url)])


    Object from userside' files start to be uploaded to object storage, but is there a way for user to abort the uploading?

    I make some experiments and find that whenever user refresh or close the page, the upload process is interrupted. But i can't find the way so that user clink a button, the process stop immediately in hand.

    Thank you.

    Continue reading...

Compartilhe esta Página