From 05e9ccf8d4e25b1b8db4880d97d259d0855fed18 Mon Sep 17 00:00:00 2001 From: hajoha Date: Thu, 26 Mar 2026 13:34:35 +0000 Subject: [PATCH] fix bug of not uploading iperf3 runs --- .../Iperf3/Worker/Iperf3ToLineProtocolWorker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/de/fraunhofer/fokus/OpenMobileNetworkToolkit/Iperf3/Worker/Iperf3ToLineProtocolWorker.java b/app/src/main/java/de/fraunhofer/fokus/OpenMobileNetworkToolkit/Iperf3/Worker/Iperf3ToLineProtocolWorker.java index 8346e2e..7cb0d8e 100644 --- a/app/src/main/java/de/fraunhofer/fokus/OpenMobileNetworkToolkit/Iperf3/Worker/Iperf3ToLineProtocolWorker.java +++ b/app/src/main/java/de/fraunhofer/fokus/OpenMobileNetworkToolkit/Iperf3/Worker/Iperf3ToLineProtocolWorker.java @@ -190,7 +190,7 @@ public Result doWork() { if(!path.exists()){ path.mkdirs(); } - File iperf3File = new File(iperf3Input.getParameter().getLineProtocolDirPath()); + File iperf3File = new File(iperf3Input.getParameter().getLineProtocolFilePath()); if (!iperf3File.exists()) { try { iperf3File.createNewFile(); @@ -201,7 +201,7 @@ public Result doWork() { FileOutputStream iperf3Stream = null; try { - iperf3Stream = new FileOutputStream(iperf3Input.getParameter().getLineProtocolDirPath(), true); + iperf3Stream = new FileOutputStream(iperf3Input.getParameter().getLineProtocolFilePath(), true); } catch (FileNotFoundException e) { Toast.makeText(getApplicationContext(), "logfile not created", Toast.LENGTH_SHORT).show(); Log.d(TAG,e.toString());