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

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

by snoopy (Curate)
on Aug 02, 2007 at 00:12 UTC ( [id://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.
  • Log In?
    Username:
    Password:

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

    How do I use this?Last hourOther CB clients
    Other Users?
    Others cooling their heels in the Monastery: (4)
    As of 2024-04-24 20:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found