in reply to remote directory structure
Put the CGI on the remote machine, and just parse the HTTP response into an array to get the dirlisting. If this needs to be recursive on the remote machine, checkout File::Find.print "Content-type:text/html\n\n"; opendir (D,".") || die "$!"; print join ("\n",(sort {$a cmp $b} grep !/^\.\.?$|$0/, readdir D)); close(D);
|
---|