Open ProgBasil opened 2 months ago
What version of Flet is that?
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.
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()
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.
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. File picker gets files, it shows correct size of them, then uploads files to storage without any exceptions or errors, even status bar shows that the files are successfully uploaded to storage. But all the files are cut by size. I mean - even if file's size 2.5 GB, it goes to the storage with only 511.2 MiB size, no matter the file type is. The same thing is with local storage. I cant upload full file to storage.
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.