Search code examples
androidflutterdartfilepicker

getting file path without loading file in memory in flutter?


I am trying to make an app for sending files to my remote server via ssh in flutter. My idea is to get the path of selected file and pass it over to ssh. I am using file picker plugin in flutter to select file, but it taking file to memory before getting file path, for large files this is taking time.is there any way to get the path of file only without taking file to memory ?


Solution

  • found a method in this project flutter file utils there is a method call list_file in this