On 8/13/07, Don Scott <[EMAIL PROTECTED]> wrote: > use Net::SFTP; > > Net::SFTP->new($remotehost) > or die "could open connection to $remote_host\n"; > $sftp->get($remotedir$remotefile) > or die "could not get $remotefile\n"; > $sftp->do_remove($remotedir$remotefile) > or die "could not remove $remotedir$remotefile\n"; >
I meant to say: use Net::SFTP; Net::SFTP->new($remotehost) or die "could not open connection to $remote_host\n"; $sftp->get($remotedir$remotefile) or die "could not get $remotedir$remotefile\n"; $sftp->do_remove($remotedir$remotefile) or die "could not remove $remotedir$remotefile\n"; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/