Tango ftp module

Trass3r mrmocool at gmx.de
Mon Mar 23 08:35:27 PDT 2009

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 
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.
             return this.sendListCommand(path);

and ls() doesn't work at all.

Is there any working example at all?

More information about the Digitalmars-d-learn mailing list