Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: Net::FTP::Recursive question

by snoopy (Deacon)
on Aug 02, 2007 at 00:12 UTC ( #630190=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Net::FTP::Recursive question
in thread Net::FTP::Recursive question

Hmmm. Your code works for me under Linux. Some other suggestions:

  • It's not just that the files ending up where you expect? The contents of ABC are going to the home directory. If your intention is to replicate ABC directory. You'll need to create it and cd to it yourself:
    $ftp_obj->mkdir('ABC'); # make sure the directory exists $ftp_obj->cwd('ABC') || die $ftp_obj->message;;
  • Set Debug => 1 when you open the ftp object. It'll give you lots of useful debugging info.

  • Comment on Re^3: Net::FTP::Recursive question
    Download Code

    Log In?

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

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (5)
    As of 2015-10-06 23:33 GMT
    Find Nodes?
      Voting Booth?

      Does Humor Belong in Programming?

      Results (164 votes), past polls