http://www.perlmonks.org?node_id=604469


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

Wouldn't it be easy if you just called a CGI script which returns the URIs of the desired files?

I used such a system to download log files a while ago. get_list.cgi would return a list of available log files, and get_log.cgi?file=... would get a particular file (since they weren't in a web-accessible directory).

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

Replies are listed 'Best First'.
Re^2: Traversing directories to get the "most-recent" or "second-to-most-recent" directory contents
by hacker (Priest) on Mar 13, 2007 at 03:45 UTC

    It would, if the server were my own... but it isn't. I don't have access to the server's namespace or anything on it. Its run by another organization with which I have no direct (public) affiliation.

    Update: Ironically, that's almost exactly what was suggested in this node from abaxaba.