Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ftp and Debug

Status
Not open for further replies.

kisan

Programmer
Nov 14, 2002
7
GB
Hi,

I would like to write out in a file the message, what ftp print out, if we set it's Debug parameter level to 1.

$ftp = Net::FTP->new("1.2.3.4", Debug => 1);

Could anyone help, how to write this message in a file?

thx
kisan
 
the debug option prints to STDERR, so close STDERR and open it again pointing to the file Mike

"Experience is the comb that Nature gives us, after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top