in reply to Want to Copy files from remote machine(Solaris) to Local Machine(Windows) using FTP::Net
You don't check the return values of login, nor of cwd. Yet you assume they succeed. Perhaps you should make sure they succeed before questioning the return values of later commands.