The FTP LIST command displays a listing of all the files and directories in the current working directory. The problem is, it returns several different formats depending on
Here is a RegEx I used on a project. Seems to work for both Windows and Unix based FTP servers. Someone might be able to clean it up but I build it by concatenating a bunch of properties on a class. So it's not as brutal to maintain for me.
^((?([dD]{1}))|)(?(.*))\s(?([0-9]{1,}))\s(?((?((?(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec))\s(?([0-9\s]{2}))))\s(\s(?([0-9]{4}))|(?