From bb45d90faef6db746780a7213e97d8027fe6c13c Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Mon, 4 Aug 2014 15:39:55 +0200 Subject: [PATCH] Fixed Ftp file path --- .../uecontrol/core/behaviour/UeBehaviourFtpDownload.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/ericsson/uecontrol/core/behaviour/UeBehaviourFtpDownload.java b/app/src/main/java/com/ericsson/uecontrol/core/behaviour/UeBehaviourFtpDownload.java index ab3f78f..73d568a 100755 --- a/app/src/main/java/com/ericsson/uecontrol/core/behaviour/UeBehaviourFtpDownload.java +++ b/app/src/main/java/com/ericsson/uecontrol/core/behaviour/UeBehaviourFtpDownload.java @@ -38,7 +38,7 @@ public class UeBehaviourFtpDownload extends UeBehaviourFileDownload { url += "@"; } url += host; - if(filePath != null && filePath.isEmpty()){ + if(filePath != null && !filePath.isEmpty()){ if(!filePath.startsWith("/")) filePath = "/"+filePath; url += filePath;