View | Details | Raw Unified | Return to bug 54299
Collapse All | Expand All

(-)src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java (-1 / +1 lines)
Lines 2362-2368 Link Here
2362
                log("Creating directory: " + dir + " in " + workingDirectory);
2362
                log("Creating directory: " + dir + " in " + workingDirectory);
2363
            }
2363
            }
2364
        }
2364
        }
2365
        if (dir.indexOf("/") == 0) {
2365
        if (dir.startsWith("/")) {
2366
            ftp.changeWorkingDirectory("/");
2366
            ftp.changeWorkingDirectory("/");
2367
        }
2367
        }
2368
        String subdir = "";
2368
        String subdir = "";

Return to bug 54299