I have an application which sends data to a remiote site via sftp.
I can get to the site via sftp on the command line, and when I run my code the data makes it accross okay.
However, I get this odd warning from the module:
Couldn't fsetstat: No such file or directory at ./triggered_push.pl line 160
The code basically goes like this:#!/usr/bin/perl use strict; use warnings; use Net::SFTP::Foreign; use Net::SFTP::Foreign::Attributes; use Net::SFTP::Foreign::Constants qw( :status ); use Net::SFTP::Foreign::Util qw( fx2txt ); use Archive::Zip qw( :ERROR_CODES ); ... my %conn_args = ( "user" => $remote_user, "port" => $remote_port, ); $sftp = Net::SFTP::Foreign->new( $remote_host, %conn_args ); ... unless ( $sftp->put( $file, $remote_file ) ) { ... error handling code ... }
The sftp->put method executes (that's the line 160 in the erorr message), but the error handling code doesn't run, and as I said the data gets sent, but my manager is a bit picky and won't let me go live without some understanding about this warning.
Is there any insight I can gain from you good people?
In reply to odd warning from Net::SFTP::Foreign by jellyman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |