Get ftp file without saving a file

I am having difficulty solving a problem. I have an FTP site with 5000 files on it and I can easily get the file listing and evaluate the file names to determine which files to actually download. The files are very small, all less than 1k. I want to read the contents and move on to the next file. I do not know how to get a file from an ftp server read it and move on without saving the file to disk.

I could use a bit of direction…

Thank you

if your server allows file wrappers to access urls…

[FPHP]file_get_contents[/FPHP] the file using an FTP URL? Never actually tried it myself, but i dont see why it shouldnt work…