LinuxQuestions.org
Help answer threads with 0 replies.
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
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
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: 47
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
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

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

Rep: Reputation: 121Reputation: 121
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 5 02-17-2016 01:24 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration