views:

484

answers:

3

Is it possible to download all the files from a directory listing? Eg., the following link leads to a listing.

http://www.arthika.net/1234TB/new/Kuruvi/

Please point me to some related API's to download all the files from such listings (if possible). Thanks

+1  A: 

Do you mean programmatically? For starters, look at wget and a batch script.

cdonner
+4  A: 
wget -r -l 1 http://url.example.com/directory/
Jaanus
+1  A: 

Assuming you mean programmatically from Java you can look at the java.net.URL.connect method. Here is an example of using it from the Java Tutorial, along with an example of reading from a URL.

TofuBeer