-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filepicker shadow upload limit. #134
Comments
What version of Flet is that? |
0.21.2 |
run the demo: 'https://github.com/flet-dev/examples/blob/main/python/controls/file-picker/file-picker-upload-progress.py', output: Exception: Specify secret_key parameter or set FLET_SECRET_KEY environment variable to enable uploads. In the documentation, it seems that there is no mention of how to pass the 'secret_key' parameter. |
You can pass the key from an environment variable or just paste this into your code: os.environ["FLET_SECRET_KEY"] = os.urandom(12).hex() |
I have the same problem with size limit (flet version 0.19.0). |
What error do you get? |
I'm preparing an app with an opportunity to upload some big files (size more than 2 GB) to S3 storage via presigned url. |
How would this work with multi threaded app? Gunicorn with multi threaded app has problem it seems when it start it with multiple workers ( --workers ). It gives me invalid request for every subsequent upload. It works fine with first one. |
good day, I'm working on uploading files to my server. I'm using one to one example from:
https://github.com/flet-dev/examples/blob/main/python/controls/file-picker/file-picker-upload-progress.py
When I upload files larger than 536 MB, it only downloads 536 MB to disk. At the same time, on_upload writes that progress is 100%.
I'm still a newbie and most likely I did something wrong, but suddenly I'm not the only one having this problem.
The text was updated successfully, but these errors were encountered: