Help for this page
open(STDOUT, ">>$logpath") or die "Cannot redirect STDOUT: $!"; open(STDERR, ">>$logpath") or die "Cannot redirect STDERR: $!";
use Net::FTP; # lets seperate any URL from the hostname ... $failedlog.=" Directory: $pwd\n"; } $ftp->quit;