boolean atLeastOneSuccess = false;
final StringBuilder sb = new StringBuilder(dirName.length());
final String[] dirs = dirName.split("\\/");
for (String dir : dirs) {
sb.append('/').append(dir);
<BUG>final boolean success = ftpClient.makeDirectory(sb.toString());
System.out.println(sb.toString() + " = " + success);

if (!atLeastOneSuccess && success) {</BUG>
atLeastOneSuccess = true;

boolean atLeastOneSuccess = false;
final StringBuilder sb = new StringBuilder(dirName.length());
final String[] dirs = dirName.split("\\/");
for (String dir : dirs) {
sb.append('/').append(dir);
final boolean success = ftpClient.makeDirectory(sb.toString());
if (LOG.isDebugEnabled()) {
LOG.debug(sb.toString() + " = " + success);
