LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-12-2004, 10:07 PM   #1
overbored
Member
 
Registered: Jun 2003
Posts: 58

Rep: Reputation: 15
Recursively listing files over FTP?


How do I obtain a complete recursive listing of all the files (under a directory) over FTP? I'm guessing there's no standard FTP command to do that, but surely there must be some way to index all the files on a server or under a directory on a server (without turning to a FTP search engine)? It would be nice if this list also included details like filesizes, attributes, etc. I thought that wget might have something like this, but I don't know how to tell it not to download files, just indices. Thanks in advance.
 
Old 10-12-2004, 10:16 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
No way that I know of with the standard ftp client.

The ncftp client can do recursive listings like, ls -lR, it will even do recursive gets and puts. It's a great client and well worth installing, if you don't have it installed already.
 
Old 10-12-2004, 10:37 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
Must be something wrong with my ftp client cause I can display recursive directory listings with ls -lR
 
Old 10-12-2004, 11:51 PM   #4
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
huh... Staring to show my age. Looks like it does work.
 
Old 10-14-2004, 12:12 PM   #5
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Still will not get -R though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recursively move files michaelsanford Linux - General 4 10-02-2005 01:50 PM
Copying hidden files recursively? mrd Linux - General 1 09-30-2005 07:51 AM
how to rm backup files recursively wazoo Linux - Newbie 6 12-31-2004 10:03 AM
recursively listing directories full paths kubicon Linux - Newbie 2 02-22-2004 03:55 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration