Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Probably not, just need to clear up a question between me and a colleague.

Wondering if there's an FTP tool that will search for a phrase within all the files in a directory.

share|improve this question
+1 I wondered this too. The answers below make sense too. – therobyouknow Dec 21 '11 at 16:20
up vote 3 down vote accepted

If you have more than just FTP access then it is possible with WinSCP and grep:

share|improve this answer
+1 worth knowing. – therobyouknow Dec 21 '11 at 16:20

Not via FTP, no. FTP does not have a search or grep function for files, it's simply for transferring.

share|improve this answer

You can script this in PowerShell using WinSCP .NET assembly:

For complete code, see Search recursively for text in remote directory / Grep files over SFTP/FTP protocol.

If you have a shell access, you can search remotely (as an answer by @Shevek already pointed out).
See Searching for a text/string within a directory.

But that's not FTP-based solution anymore.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.