There's a number of potential problems here:
The documentation for Net::FTP explains what ls() and the other methods do. It also has four examples of checking return values (in the SYNOPSIS) as correctly recommended in the previous post.
In reply to Re: Want to Copy files from remote machine(Solaris) to Local Machine(Windows) using FTP::Net
by kcott
in thread Want to Copy files from remote machine(Solaris) to Local Machine(Windows) using FTP::Net
by sarshads
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |