Hi All
Is it possible to use the file plugin to write a file from the server /uploads folder, to the users file system from the web client.
If so, how do i get the bytes from the file i want to download from the app server.
Regards
Hi All
Is it possible to use the file plugin to write a file from the server /uploads folder, to the users file system from the web client.
If so, how do i get the bytes from the file i want to download from the app server.
Regards
In the webclient it is not possible to write directly to the user’s file system. That is just a restriction that browsers have.
But if you use plugins.file.writeFile() in the webclient it will push the file to the client like when downloading any other file.
If you want the bytes of the file, you can just use plugins.file.readFile().