Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: Net::FTP::Recursive code not downloading files

by tangent (Priest)
on Dec 12, 2013 at 23:11 UTC ( #1066932=note: print w/replies, xml ) Need Help??

in reply to Re^2: Net::FTP::Recursive code not downloading files
in thread Net::FTP::Recursive code not downloading files

As wazat points out the problem is with MatchDirs, though not with path names, as you can see from the output that it is entering the directories you have in MatchDirs. Once it gets in to one of those directories though, it won't go any further because subsequent directories are not in MatchDirs - it checks every directory for a match before recursing, not just the top level.

The solution is to get rid of the MatchDirs and call your code for each directory, setting the path in $params{dir}.
e.g. dir => "Browse_For_Drivers/Servers, Storage & Networking/PowerEdge/PowerEdge R810"

  • Comment on Re^3: Net::FTP::Recursive code not downloading files

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1066932]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2016-10-01 04:26 GMT
Find Nodes?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:

    Results (574 votes). Check out past polls.