Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by tangent (Deacon)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (22)
As of 2014-07-22 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (116 votes), past polls