Haloo..
Aku lagi bikin script perl yang menggunakan module Net::SCP::Expect.
Masalahnya, file yang terkopi di remote host menjadi 0 Kb :(
Ini scriptnya:
#!/usr/bin/perl
# testscp.pl
use Net::SCP::Expect;
my $h_scp = Net::SCP::Expect->new(host=>'nama.host.ac.id',user=>'ah',
password=>'abcd');
$h_scp->scp('file_dr_mesin_lokal.txt','/home/ah');
# EOF
Setelah dijalankan, muncul pesan:
"at /usr/local/lib/perl5/site_perl/5.8.0/Expect.pm line 733t supported"
Aku sudah googling, tapi ga nemu :( Please... someone help me..!
TIA
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]