Net::SFTP:Foreign Error
- From: "deadpickle" <deadpickle@xxxxxxxxx>
- Date: 20 Mar 2007 19:24:38 -0700
I am making a script that grabs a file from a server using SFTP. When
I run the program I get the error, invalid option(s) 'dontsave' at
sftptest1.pl line 13". I'm not sure why I get this error. Can anyone
help me?
#!/usr/bin/perl
#!/usr/bin/sftp
use Net::SFTP::Foreign::Compat;
#login and setup connection
my $host = 'mistral.unl.edu';
my $sftp = Net::SFTP::Foreign::Compat->new($host, user=>'jlahowet');
#change directories (local, remote)
my $local = '/home/deadpickle/Desktop';
my $remote = '/home/jlahowet/UAV';
$sftp->do_open($local);
$sftp->do_opendir($remote);
my $sat = "vis_sat_co.png";
$sftp->get($sat );
.
- Prev by Date: Re: extendible certificate
- Next by Date: Re: extendible certificate
- Previous by thread: extendible certificate
- Next by thread: Does ssh use telnet options?
- Index(es):
Relevant Pages
|
|