Fixed Ftp file path

This commit is contained in:
Ziver Koc 2014-08-04 15:39:55 +02:00
parent 580f4fdc3d
commit bb45d90fae

View file

@ -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;