Scripts for batch downloading from "index/of"' web directories in R