use Net::SFTP; my $sftp = Net::SFTP->new($targetURL, [user => $targetUser, password => $targetPwd]);