Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am logged in to an ftp server and want to find a particular directory within all the directories that exist there. I am looking for a command similar to the Unix find command. Is there something like this available?

share|improve this question

4 Answers

While theoretically possible I'm not aware of any ftp-client to support this.

EDIT: As idursun pointed out Total Commander can do it.

It's not possible with regular ftp, but if you have a shell account you can login with ssh or putty and use find.

If you really have only ftp-access you could try to list all directories recursively to a file and then grep.

share|improve this answer

Total Commander can do that. Connect to ftp using the built-in ftp client and perform a normal search (Alt+F7) in the ftp tab.

share|improve this answer

There's lftp too. You can perform things like :

lftp user@ftp.domain.net:/> find . | grep WORD
share|improve this answer

Some FTPd have a file database that can be queried:

user@ftp.domain.net:/> site search foo
/pub/beer/foo/
/pub/beer/foo/bar
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.