apache目录列表,全部下载 [英] apache directory listing, download all

查看:115
本文介绍了apache目录列表,全部下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有任何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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆