flutter_downloader icon indicating copy to clipboard operation
flutter_downloader copied to clipboard

how to get file path

Open wengxianxun opened this issue 3 years ago • 2 comments

how to get file path?

wengxianxun avatar Aug 04 '21 15:08 wengxianxun

As of now there is no method which return file path. Provide filename in constructor and then your filepath will be dir+"/"+filename. hope this will work for you.

jemisgoti avatar Oct 12 '21 12:10 jemisgoti

But if you do that, you also need to provide the file extension, otherwise it downloads the file as .rar 🤔

camilaazuma avatar Apr 12 '24 20:04 camilaazuma