in reply to
Net::FTP->dir("abc def"); embedded spaces in filename fails.
Hi! It's simple.
You need run the next commands:
...
...
...
$filename =~ s/\s/\\ /g;
$ftp->dir($filename);
This is the correct way to escape the whitespaces.
That's all!
Comment on
Re: Net::FTP->dir(
In Section
Seekers of Perl Wisdom