in reply to Non buffered telnet?

While not exactly a Perl answer, my suggestion would be just to use the SQL command line to do a SELECT on the table(s) that you want, and send the output (suitably field and line-terminated) to an output file. Then just use scp or ftp to grab that output file.

--t. alex
Life is short: get busy!