[Ilugc] Searching files under FTP site

  • From: akumar@xxxxxxxxxxxxx (Kumar Appaiah)
  • Date: Wed Jan 3 08:38:49 2007

On 03/01/07, Girish Venkatachalam wrote:

Hello,

        Is there a way to look for a specific file on an FTP server?

        It could be under any directory.

        Some sort of recursive search is what I am looking for.

In LFTP, "find" does just that. Except, it will just recursively
traverse all directories and display all files. So, you can use find |
grep to narrow down the results.

Also, the find in LFTP has an option called "-d" to restrict the depth
of the subdirectories it enters.

HTH.

Kumar
-- 
Kumar Appaiah,
462, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600036

Other related posts: