in reply to Re: Disconnect from Remote Server
in thread Disconnect from Remote Server
Hello,
I get the following error message, when I execute the perl script:
Undefined subroutine &Net::SFTP::Foreign::_catch_tainted_args called at /usr/lib/perl5/site_perl/5.10/Net/SFTP/Foreign.pm line 156.
#!/usr/bin/perl use strict; use warnings; use Net::SFTP::Foreign; use Fcntl qw(SEEK_END); my ($host, $file, $user, $pwd, $port) = undef; my $sftp = Net::SFTP::Foreign->new($host, $user, $pwd, $port); $sftp->error and die "Unable to connect to remote host: ".$sftp->error +."\n";
Thanks,
Roger
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Disconnect from Remote Server
by salva (Canon) on Oct 06, 2010 at 10:44 UTC | |
by rfbits (Initiate) on Oct 07, 2010 at 04:01 UTC |