moding /sbbs/exec/load/openweathermap.js to copy the /sbbs/temp/{response}.jsonãfile but it isn't working ...ããOpenWeatherMap.prototype.write_cache = function (endpoint, params, response) {ã const hash = base64_encode(endpoint + JSON.stringify(params));ã cache_file = new File(system.temp_dir + 'openweathermap_' + hash +ã'.json');ã cache_file.open('w');ã cache_file.write(JSON.stringify(response));ã cache_file.close();ã--> file_copy(cache_file, '/sbbs/etrucker/' + 'owm.json'); ã writeln('Copied '+cache_file + 'to /sbbs/etrucker.owm.json');ã}ããthe file_copy(cache_file, '/sbbs/etrucker/' + 'owm.json'); seems to errorããany ideas?ãã---ã þ Synchronet þ AlleyCat! BBS -
http://alleycat.synchro.net:81ã