Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / October 2006

Tip: Looking for answers? Try searching our database.

cannot get a list of file/directories on webserver

Thread view: 
Petterson Mikael - 05 Oct 2006 13:24 GMT
Hi,

On a webserver there is the following structure:

<site root>/
    site.xml
    features/
    xxx.jar
    plugins/
    yyy.jar

I need to download the files and put them in a repository( local on my
machine).

I have tried using HttpURLConnection but I cannot get a list of files
and directories where the url path is pointing.

Here is the url:

http://e-p-i-c.sourceforge.net/updates

Can anyone help me out? Is there another way?

cheers,

//mikael
Manfred Rosenboom - 05 Oct 2006 13:50 GMT
Hi Mikael,

This can only be achieved with a solution on the server site and not
from the client side.

Best,
Manfred
Petterson Mikael - 05 Oct 2006 14:05 GMT
> Hi Mikael,
>
[quoted text clipped - 3 lines]
> Best,
> Manfred

Is it possible to determine data of file with http?

cheers,

//mikael
Remi Arntzen - 05 Oct 2006 19:50 GMT
> Hi,
>
[quoted text clipped - 22 lines]
>
> //mikael

You have to manually parse the contents of the site index for links to
files and directories, similar to a web crawler.  Sorry.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.