in reply to read FTP file line by line
You can create a named pipe on disk using mkfifo then pass that to the get() method. Then in a seperate perl program open the fifo like a normal file and process it line by line.