Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (8)
    As of 2014-07-26 18:08 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (178 votes), past polls