diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index 921d514..4f21c52 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -676,15 +676,15 @@ class MonitoringServer extends IPSModule { // Schreibe Datei lokal //$state = file_put_contents($localPath, $data); - - $file = fopen($localPath, "w"); + $path ='/var/lib/symcon/user/'.$localPath; + $file = fopen($path, "w"); $state = fwrite($file, $data); fclose($file); IPS_LogMessage ("File Create", "File Put State/Size: ".$state); // Lade hoch - $putstate = ftp_put($ftp, $remotePath, $localPath, FTP_BINARY); + $putstate = ftp_put($ftp, $remotePath, $path, FTP_BINARY); IPS_LogMessage ("FTP", "FTP Put State: ".$putstate); } diff --git a/library.json b/library.json index 366336c..4ff8eda 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "2.5", - "build": 6, + "build": 7, "date": 0 } \ No newline at end of file