Apache的目录列表,下载所有 [英] apache directory listing, download all
问题描述
有任何Windows工具或某种方式来自Apache目录列表下载的所有文件夹和文件递归?
Is there any Windows tool or some way to download all the folders and files recursively from apache directory listing?
感谢
推荐答案
wget的窗户(或<一个href=\"http://gnuwin32.sourceforge.net/packages/wget.htm\">http://gnuwin32.sourceforge.net/packages/wget.htm)
在安装它的那样简单: -
Once installed it's as simple as: -
wget -m -np http://eamos.pf.jcu.cz/amos/kat_inf/externi/
的 -m
是的别名 - 镜
。作为一个评论者指出的那样,你可能想 -np
或 - 无父
,这样你不上去在目录结构中。您可能还需要添加 - 等待= 5
这样你就不会鞭打Web服务器, - 转换链接
如果你想在HTML文件中本地链路当它完成,而 - 执行=机器人= OFF
如果你没有得到的所有文件(忽略robots.txt文件)。现在干脆:
The -m
is an alias for --mirror
. As a commenter noted, you probably want -np
or --no-parent
so that you don't go up in the directory structure. You might also want to add --wait=5
so you don't thrash the web server, --convert-links
if you want local links in the html file when it's done, and --execute="robots = off"
if you're not getting all of the files (ignores robots.txt file). Altogether now:
wget --execute="robots = off" --mirror --convert-links --no-parent --wait=5 http://eamos.pf.jcu.cz/amos/kat_inf/externi/
这篇关于Apache的目录列表,下载所有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!