Hi monks
I need a way to parse results of FTP ls command course for some reasons i can't use Net::FTP::Common. Results look like so:
03-26-07 05:23AM <DIR> html 03-26-07 04:27AM <DIR> ibm-laptop 03-26-07 03:16AM <DIR> images 03-27-07 11:00PM 6397 index.html 03-26-07 03:45AM 10186 index1.html
So i need a way to get file/directory name and item type (directory or file). But i can't write regex for that :-(. Maybe regex is a wrong way in this case?
In reply to Parsing FTP ls command results by Gangabass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |