Skip to content
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

Unable to Upload file on IOS using FilePicker #109

Open
Michel7GitHub opened this issue Dec 21, 2023 · 1 comment
Open

Unable to Upload file on IOS using FilePicker #109

Michel7GitHub opened this issue Dec 21, 2023 · 1 comment

Comments

@Michel7GitHub
Copy link

Michel7GitHub commented Dec 21, 2023

From IOS (Ipad & Iphone), I want to save files (upload) using FilePicker.
I downloaded examples/python/controls/file-picker/file-picker-all-modes.py from Github.
The Python example works well on my desktop (Windows).
On IOS, "Pick files" works well, but ...
Trying "Save file", IOS Files app popup manager doesn't open.
Trying "Open directory, IOS Files app popup manager opens, by Flet crash without any message when I try (click) to open a directory.

@Michel7GitHub Michel7GitHub changed the title Unable to Upload file on IOS using FilePickerUploadFile Unable to Upload file on IOS using FilePicker Dec 21, 2023
@Michel7GitHub Michel7GitHub reopened this Dec 21, 2023
@rebeatle
Copy link

rebeatle commented Apr 5, 2024

From https://flet.dev/docs/guides/python/file-picker-and-uploads

When running Flet app in a browser only "Pick files" option is available and it's used for uploads only as it, obviously, doesn't return a full path to a selected file.

I am having the same isu but with Android. For some reason file picker is not unable to get the path . It is supposed to get the file content in memory so u can upload "the contents" of that file ( in this case a image ). I already make some test and isn't working . I will update this comment if I get something new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants