in reply to Net::FTP Woes
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Net::FTP Woes
by chaoticset (Chaplain) on Feb 03, 2003 at 23:22 UTC |