added ftp to getName

pull/1/head
orbiter 12 years ago
parent c235d5c0f1
commit 6e0f4557f8

@ -2006,6 +2006,9 @@ public class MultiProtocolURI implements Serializable, Comparable<MultiProtocolU
} catch (final MalformedURLException e) {
throw new IOException("SMB.getName MalformedURLException (" + e.getMessage() + ") for " + toString() );
}
if (isFTP()) {
return this.getFileName();
}
return null;
}

Loading…
Cancel
Save