|
|
| Just another Perl shrine | |
| PerlMonks |
Answer: Net::FTP->dir( |
| ( #323276=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > HTTP and FTP clients > Net::FTP->dir("abc def"); embedded spaces in filename fails. contributed by fedelman
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!
|
|
||||||||||||||||||