private static final Logger LOG = Logs.of(FtpManager.class);
PreferenceHelper preferenceHelper;
public FtpManager(PreferenceHelper preferenceHelper) {
this.preferenceHelper = preferenceHelper;
}
<BUG>public void testFtp(String servername, String username, String password, String directory, int port, boolean useFtps, String protocol, boolean implicit) {
File gpxFolder = new File(preferenceHelper.getGpsLoggerFolder());</BUG>
if (!gpxFolder.exists()) {
gpxFolder.mkdirs();
}

private static final Logger LOG = Logs.of(FtpManager.class);
PreferenceHelper preferenceHelper;
public FtpManager(PreferenceHelper preferenceHelper) {
this.preferenceHelper = preferenceHelper;
}
public void testFtp(final String servername, final String username, final String password, final String directory, final int port, final boolean useFtps, final String protocol, final boolean implicit) {
File gpxFolder = new File(preferenceHelper.getGpsLoggerFolder());
if (!gpxFolder.exists()) {
gpxFolder.mkdirs();
}
