Please don't take this wrong. Perhaps you've moved on and done what I'll say below, but I don't know, and I have to assume you have not.

You'll note that I added a note to my original encouraging the use of the code marto posted first, over mine. In addition, I encouraged you to read the actual documentation for the class, which would have shown you where the ls -la bit comes from. And, I pointed out in the comment, and the code, that this is for Unix-like systems, which, based upon the error message you reported, you are not trying to FTP to.

We are happy to help, and code snippets have been provided. Have you tried the code samples marto pointed you to? If my code does not work, the code from the modules' development team is much more likely to. And if it does not, please give us more data, as mentioned in How do I post a question effectively? and Perlmonks FAQ.

Why? Because we've here to help, and it's best if you help us help you. Those documents will tell you how, and how to give info like the Operating Systems, which might just be your main issue. But I don't know that, and thus cannot help you resolve the issue.

Bottom line: I CANNOT debug your error properly without you testing the other code sample, and providing more complete details about you goals. OK?

----Asim, known to some as Woodrow.


In reply to Re^3: net::Ftp::rercursive->rput by Asim
in thread net::Ftp::rercursive->rput by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.