[英]Java HttpClient: how to download all the files from a given folder
I am getting dynamic URLs, they point to Folders on servers like this: 我正在获取动态URL,它们指向这样的服务器上的Folders:
http://www.xyzdomain.com/images/ http://www.xyzdomain.com/images/
www.1234ooooo.com/documents/ www.1234ooooo.com/documents/
I need to dowload all the files int the folder of a given url. 我需要将所有文件下载到给定URL的文件夹中。 I want this done apache httpclient package in java.
我想要在Java中完成apache httpclient程序包。
Thanks in advance. 提前致谢。
You may want to check out this demo on how to use HttpClient 您可能想查看有关如何使用HttpClient的此演示
http://www.eboga.org/java/open-source/httpclient-demo.html http://www.eboga.org/java/open-source/httpclient-demo.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.