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 for windows (或 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
是 - mirror
的别名。作为评论者指出,您可能需要 -np
或 - 无父母
,以便您不要上在目录结构中。您可能还需要添加 - wait = 5
,这样您就不会浪费网络服务器, - convert-links
如果您希望html文件中的本地链接完成,而 - execute =robots = 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屋!