I would want to know if there any another way to get a list of files to be downloaded from HttpServer,other than parsing the response using HttpClient.
I would also like to know if Commonns VFS is a suitable alternative for this as I tried using VFS but was not able to obtain just the list of files. I checked an example for sftp in vfs, but was not able to开发者_Python百科 implement it in Http.
Say i have this link http://www.ibiblio.org/maven/maven/jars/
is there a way in either HttpClient or Common VFS to just obtain the list of jars. The download portion is easier.
For HttpClient, short answer is no.
If you still want to do it with HttpClient, then you'll first have to extract the jar links, then retrieve each one of them separately.
As an alternative you can do that with Jsoup.
Look at that other message
精彩评论