Skip to content
Advertisement

How to parse lines from a file on a FTP server without downloading it [closed]

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.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement