in reply to Splittig STDERR output to file AND STDERR

I'm not entirely clear on where the message is generated, but your code includes this line:

$ftp->message();

Which gets the text of the last FTP protocol response from the server and then does nothing with it.

Perhaps you should incorporate it into your print line:

print "get returned: ", $ftp->message(), "\n";

Replies are listed 'Best First'.
Re: Re: Splittig STDERR output to file AND STDERR
by cybear (Monk) on Jun 21, 2002 at 15:24 UTC
    Sorry, that is a bit unclear.

    The $ftp->message(); line is one of the attempts that I've made
    to get the STDERR information returned to me.

    This line did indeed return data but only a GLOB(x234982395)
    string, which is not much use.