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

PathNotFoundException in windows platform #120

Open
sharpsaravanan opened this issue Jun 17, 2024 · 0 comments
Open

PathNotFoundException in windows platform #120

sharpsaravanan opened this issue Jun 17, 2024 · 0 comments

Comments

@sharpsaravanan
Copy link

Thank you for developing this fantastic plugin!

unable to save file in windows platform when filepath parameter is given.
(due to path separator is hard coded in -- ( FileSaver.saveFileOnly (package:file_saver/file_saver.dart:113:15)
return (await file.copy('$applicationDirectory/$name$ext')).path;)

FileSaver.instance.saveFile function return file as 'C:\Users\username\Downloads/image1.png' instead of this 'C:\Users\username\Downloads\image1.png'

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

1 participant