How do you create a new file using file picker and write to it?

here is the result

the uri decode method of web component is not able to convert a content uri into a filepath
try one of the file extensions

EDIT: also I think, it is not necessary to do the conversion. If you own the file it theoretically should be possible to store it using the content uri...

EDIT: no, I was wrong, it produces the same runtime error as in your first post of this thread

example project attached
readWrite3.aia (64.1 KB)

  1. create file
  2. read file using the file picker
  3. save it using the provided content uri

Taifun