I don't follow you. Maybe you could explain your Net::FTP process. If you already know what files you need, aren't they already in a hash or array? Aren't you looping through that structure and downloading them one-at-a-time? If so, then store/print the resulting ftp status for each as you go.

Are you downloading every file in a given subdirectory and then trying to figure out if the ones you want are in the lot you've received? If this is the case, you'll probably want to start with an empty target directory, download the files, loop through the filenames (keys) of your hash and test for their existence.

--Jim


In reply to Re: Hashes and File searches by jlongino
in thread Hashes and File searches by muzakfetch

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.