What's printed? dir returns a reference to an array in scalar context. Try this:
my @lines = $ftp->dir('\\'); print join("\n", @lines), "\n";
I might add that even on Windows FTP servers I've always used forward slashes as directory separators when in FTP. Show us your resulting output if this still fails.
In reply to Re: Net::FTP Woes
by steves
in thread Net::FTP Woes
by chaoticset
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |