Topic "Text search among remote files"

Author Message
Guest




The "Find Files" option is great for locating a file or files where you only know part of the file name (e.g. a date forming part of the filename.ext construct.
Even better would be for a remote search of files looking for any which contain a given text string.
For example, my client receives a daily file from his supplier with price details against 10,000 products. For three days (although we didn't know that at the time) this file contained an error. To locate the error we had to download 353 files and then search them locally for the erroneous price. That took hours. It would have been much easier to ask WinSCP to search remotely and to give a results list containing
a) the name of the file that the string was encountered
b) the line number
c) the actual line
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26706
Location: Prague, Czechia
That's a built-in extension for that:
https://winscp.net/eng/docs/library_example_recursive_search_text
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License