Sorry about the my unspecific question. Actually, what I wanted to know was how to use the FTP module to get a file that matches a certain pattern. I wanted to know whether you can pass a pattern as a variable. I only know how to get a specific file name via
$ftp->get($variable)
but is it...
I know this must be a very simple question, but how do you pass a variable?
For example, this doesn't work when I try it:
$variable = somefile;
$ftp->get("$variable");
Any help would be much appreciated.
--Perlnovice
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.