05-23-2021 15:56
05-23-2021 15:56
I transferred a tex file to companion from device using ".enqueueFile("test.txt")" and read it with "await inbox.pop()".
However, as far as I know, the file system is not available in companion system.
So, is there any other way to save the transferred file from device at companion side?
Answered! Go to the Best Answer.
05-23-2021 16:12
05-23-2021 16:12
Yes, there is a way. You can use fetch() to send it to a server. You can write your own server to accept the file. You can host this on the internet, or on your phone (which has the advantage of not requiring SSL). This is very difficult to do.
I think there's a web site that can accept fetch() requests and provide the content as file for download, but I don't know what it is.
05-23-2021 16:12
05-23-2021 16:12
Yes, there is a way. You can use fetch() to send it to a server. You can write your own server to accept the file. You can host this on the internet, or on your phone (which has the advantage of not requiring SSL). This is very difficult to do.
I think there's a web site that can accept fetch() requests and provide the content as file for download, but I don't know what it is.