I don't think it is possible with all web servers. Directory listing disabled by default in web servers.
Indika Bandara Udagedara <[EMAIL PROTECTED]> wrote: thanks. guess i was clear that i'm referring to a remote web server. my requirement is actually to get the recursive listing of files in the cygwin mirror at http://cygwin.internet.bs/release/ how can it be done with your commands ? --- In [email protected], "Mario Chamorro" <[EMAIL PROTECTED]> wrote: > > The standard way to get a file listing is to use the 'ls -R' command > which will get you a Recursive directory listing . Any FTP file server > will have a file named something like 'ls-lR.gz' which is basically a > recursive listing of everything on the server so people just download > and unzip that instead of slowly browsing the entire server. Play with > that command . Here's an example. Enjoy! -- Mario > > [MCHAMORRO:/m/www/main/mmm] ls -lR > .: > total 160 > -rw-r--r-- 1 Mario Chamorro None 63480 Feb 13 21:16 index.html > drwxr-xr-x 2 Mario Chamorro None 0 Feb 9 21:59 index_files > -rw-r--r-- 1 Mario Chamorro None 16877 May 5 2005 mario.jpg > -rw-r--r-- 1 Mario Chamorro None 4880 Feb 10 08:52 second.html > -rw-r--r-- 1 Mario Chamorro None 3433 Dec 13 21:39 second.html.0 > -rw-r--r-- 1 Mario Chamorro None 1715 Dec 13 21:51 second.html.1 > -rw-r--r-- 1 Mario Chamorro None 1322 Apr 4 2007 womb.html > > ./index_files: > total 192 > -rw-r--r-- 1 Mario Chamorro None 1064 Jan 27 20:08 mocha.css > -rw-r--r-- 1 Mario Chamorro None 914 Dec 14 00:06 mocha.css.0 > -rw-r--r-- 1 Mario Chamorro None 43 May 5 2005 pixel.gif > -rw-r--r-- 1 Mario Chamorro None 96 May 5 2005 sboff.gif > -rw-r--r-- 1 Mario Chamorro None 3432 May 13 2005 sbon.gif > -rw-r--r-- 1 Mario Chamorro None 1698 May 5 2005 sign.jpg > -rw-r--r-- 1 Mario Chamorro None 96 May 5 2005 sroff.gif > -rw-r--r-- 1 Mario Chamorro None 2315 May 5 2005 sron.gif > -rw-r--r-- 1 Mario Chamorro None 96 May 5 2005 swoff.gif > -rw-r--r-- 1 Mario Chamorro None 2315 May 5 2005 swon.gif > -rw-r--r-- 1 Mario Chamorro None 133 May 5 2005 syoff.gif > -rw-r--r-- 1 Mario Chamorro None 1881 May 5 2005 syon.gif > [MCHAMORRO:/m/www/main/mmm] > > --- In [email protected], mit reba <timbub95@> wrote: > > > > Your best bet is probably psftp available at the puTTY website. > > The commands(after logging in of course) would be cd <your directory > here>, > > the ls to list the files in the directory. > > Sincerely, > > Tim Aber. > > > > Indika Bandara Udagedara <indikabandara19@> wrote: > Hi, > > is there any tool that can get the list of file in the web server > > eg. say there are 1.html, 2.html, ... in www.aaa.com > > can you get the list of files by any common tool... wget, curl? > > > > downloading 1.html ... is not required. > > > > can u share some light? > > > > indika > --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. [Non-text portions of this message have been removed] To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be removed. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/LINUX_Newbies/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
