Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: ftp files from Unix m/cby Anonymous Monk |
on Jul 23, 2002 at 04:46 UTC ( [id://184332]=note: print w/replies, xml ) | Need Help?? |
There is a big problem with different FTP daemons giving different listing formats. I've spent a considerable amount of time on this issue and have researched it back far enough to the root problem which is, there are no set FTPd standard.
My suggestion is to setup ftpd server type checking at the beginning of your code, then forward through a sub that is specific to the listing format that you will get from that ftpd. Use regular expression, then let hang dry. - Simon mitosis.com
In Section
Seekers of Perl Wisdom
|
|