How to index ftp server on linux (preferably using gui)?

1

Basically I'm using FileZilla right now but wouldn't mind to use any other gui. What I want is to index all directories and files in an ftp server so I can review them later (without the need of any connection to the original server). Any help will be appreciated - I'm using Opensuse Tumbleweed (latest updated) + KDE Desktop.

WindowsXpUser

Posted 2016-05-13T13:14:56.587

Reputation: 119

Answers

0

You can do this via CLI.

Use a command-line FTP client and run this command:

 dir -lR

or

 ls -R

which will list recursively the content of all directories and subdirectories.

Otherwise, without using a FTP client:

wget -r -x --no-remove-listing --spider ftp://ftp.example.com/

This will use wget to:

  • retrieve recursively (-r) all directories and subdirectories,
  • creating mirror subdirs on the client (-x)
  • and hence a tree of directories on the client identical as the server but containing only .listing (--no-remove-listing) files showing the contents of each directory,
  • without retrieving the files themselves (--spider).

dr01

Posted 2016-05-13T13:14:56.587

Reputation: 2 509

1

For server without recursive listing support, this may be useful

– hkdtam – 2016-05-13T13:58:15.963

And what would this commands do? Can you explain their usage more? I would expect that they will simply output the directories and files on the stdout - is this true? – WindowsXpUser – 2016-05-14T13:04:02.970

More or less. It will create a tree on your machine with a listing of directory contents in each directory. Answer updated. – dr01 – 2016-05-14T14:47:26.920