File picker on web #2412
Unanswered
capidreamliner
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Web upload is explained here: https://flet.dev/docs/guides/python/file-picker-and-uploads#uploading-files
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hey there!
I'm new to Flet, and I'm having a bit of trouble with something. Sorry if it's a simple question, but I have searched everywhere and can't find a solution. I'm working on an app using Flet and Pyrebase, and I want users to be able to pick an image and put it on Firebase Storage.
Everything's works great except when I run it on the web. In my code, I use file.path to upload the file, but on the web, it just returns None because of security reasons. How can I upload the file without using the path?
Sorry if it's a bother, and I appreciate any help in advance!
Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions