Future<void> saveWebdavPid(int pid) async { final file = File(webdavPidFile); await file.writeAsString(pid.toString()); }