Answer the question
In order to leave comments, you need to log in
Dart: How to save a file?
I need to save a file that is on my hard drive.
File: /home/mk/proj1/1.txt
Program: /home/mk/proj2/ Trying
:
new dom.AnchorElement(href: '/home/mk/proj1/1.txt')
..setAttribute("download" , '1.txt')
..click();
Writes: Failed! no file.
How to save the file correctly?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question