examples icon indicating copy to clipboard operation
examples copied to clipboard

Unable to Upload file on IOS using FilePicker

Open Michel7GitHub opened this issue 1 year ago • 1 comments

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 avatar Dec 21 '23 16:12 Michel7GitHub

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.

rebeatle avatar Apr 05 '24 10:04 rebeatle