in reply to Logging a ftp session

From the Net::Cmd docs:
Different packages may implement different levels of debug but a non-zero value results in copies of all commands and responses also being sent to STDERR.
so
#!/usr/bin/perl -w use strict; use Net::FTP; $ftp = Net::FTP->new("foo.bar.com", Debug => 1) or die "Cannot connect to foo.bar.com: $@"; ...
should do the trick.
-derby

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.