From e1a0d919d3f9968631336400462f17c2a3b9d54f Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Tue, 14 Nov 2017 09:31:46 +0100 Subject: [PATCH] FTP url fixed when not set to a custom url. --- app/src/main/java/org/transdroid/core/gui/DetailsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/transdroid/core/gui/DetailsFragment.java b/app/src/main/java/org/transdroid/core/gui/DetailsFragment.java index 7869759a..cd7bd991 100644 --- a/app/src/main/java/org/transdroid/core/gui/DetailsFragment.java +++ b/app/src/main/java/org/transdroid/core/gui/DetailsFragment.java @@ -548,7 +548,7 @@ public class DetailsFragment extends Fragment implements OnTrackersUpdatedListen } String urlBase = currentServerSettings.getFtpUrl(); if (urlBase == null || urlBase.equals("")) { - urlBase = "ftp://" + currentServerSettings.getAddress(); + urlBase = "ftp://" + currentServerSettings.getAddress() + "/"; } // Try using AndFTP intents