- or download this
package RemoteFile 0.000001;
...
$self->logi('File uploaded successfully.');
}
- or download this
package MyOpenSSH 0.000001;
...
my $self = shift;
$self->ssh->disconnect;
}
- or download this
sub get_file {
validate_pos(@_, 1, 1);
...
$file->disconnect;
return $content;
}