Has anyone ever tried the tango ftp code?
Nothing really works for me, even for simple cases.

For example, when using ls() it gets stuck in parseMlstLine() cause the exception
throw new FTPException("CLIENT: Bad syntax in MLSx response", "501");
doesn't get caught.
Thus the else branch isn't executed:
        // If it passed, parse away!
        if (mlsd_success)
                [...]
        // Fall back to LIST.
        else
            return this.sendListCommand(path);

and ls() doesn't work at all.


Is there any working example at all?

Reply via email to