Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

File transfer

Does anyone know why the files get sent but often aren't received?

Is this code incorrect?

It would seem to be as occasionally it works.

 

Main program

 

inbox.onnewfile = () => {
console.log("File received from companion");
getSettings();
}

 

Companion


inbox.onnewfile = () => {
console.log("Companion requested to send settings file!");
sendItems();
};

Author | ch, passion for improvement.

Best Answer
0 Votes
1 REPLY 1

Update: After deleting all versions and starting again for some reason it seems to be working properly again.

Author | ch, passion for improvement.

Best Answer
0 Votes