Net::SFTP:Foreign Error

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

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 line 13". I'm not sure why I get this error. Can anyone
help me?

use Net::SFTP::Foreign::Compat;

#login and setup connection

my $host = '';

my $sftp = Net::SFTP::Foreign::Compat->new($host, user=>'jlahowet');

#change directories (local, remote)

my $local = '/home/deadpickle/Desktop';

my $remote = '/home/jlahowet/UAV';


my $sat = "vis_sat_co.png";

$sftp->get($sat );

Site Timeline