I want to parse a line from large files on a FTP server without downloading them, using Linux command line.
Something like this comes to mind:
wget <ftp_file> | grep <something_from_a_line>
Is there a way to do this?
Advertisement
Answer
Reading a remote file from a client machine implies that you download it (explicitly or implicitly). Otherwise you must find some way to connect onto the server and read the file locally on the server.