my doupt was correct, i tried:
if ( $ftp->support( 'mdtm' ) ) {
print "Hooray!!! NO HAZZLE OF PARSING";
} else {
print "Pitty you, i'll have to write LIST parse code";
}
not neccesarily saying the output was:
Pitty you, i'll have to write LIST parse code.$
ah!, that is so bad, any one have already written code for parsing LIST output of the FTP command directory listing. ??
I have already started writing the parsing code, and it wouldnt be that difficult, but the only thing that bugs me is:
some FTP server uses the unix long listing format, and some use DOS long listing format!!!, thats bad for the programmers, as they will have to detect which listing format it is and than parse it correctly(hopefully) based on that.
Thanks any way
