in reply to net ftp recursive - rls and rdir
In addition to the filehandle issue I thought I'd point out a few other things.
Are you using Net::FTP or Net::FTP::Recursive? You've used both but since you didn't show how you used the constructor, we don't know. Net::FTP doesn't support rls.
Also, in all Net::FTP and Net::FTP::Recursive calls after the constructor you should be using $ftp->message (or in your case $f->message) as a part of your die messages as documented in Net::FTP.
|
---|
In Section
Seekers of Perl Wisdom