in reply to Traversing directories to get the "most-recent" or "second-to-most-recent" directory contents

This looks pretty straightforward to me. You seem to have described a pretty good approach. You might want to look at HTML::Parser to parse the HTML, and Date::Parse to parse the dates.

The only part that sounds tricky is resuming the download. It looks like the HTTP 1.1 Range header should let you do what you want, if the server supports it. See RFC 2616 sec. 14.35 for the details.

  • Comment on Re: Traversing directories to get the "most-recent" or "second-to-most-recent" directory contents