Subject: | Net::SFTP::Foreign late_set_perm server dump |
Date: | Fri, 15 Jan 2010 10:58:05 -0700 |
To: | bug-Net-SFTP-Foreign [...] rt.cpan.org |
From: | "David A. Sinck" <bugs+cpan [...] grueslayer.com> |
Using perl 5.8.8 and Net::SFTP::Foreign r1.55, I've stumbled across
the late_set_perm issue; a Data::Dumper of $sftp is:
$VAR1 = bless( {
'_autoflush' => undef,
'_bin' => '',
'_block_size' => 32768,
'_bout' => '',
'_connected' => 1,
'_dirty_cleanup' => undef,
'_error' => 0,
'_fs_encoding' => 'utf8',
'_late_set_perm' => undef,
'_msg_id' => 0,
'_queue_size' => 32,
'_queued' => 0,
'_read_ahead' => 131072,
'_status' => 0,
'_timeout' => undef,
'_write_delay' => 262144,
'pid' => 8189,
'server_extensions' => {},
'server_version' => 3,
'ssh_in' => \*Symbol::GEN1,
'ssh_out' => \*Symbol::GEN0
}, 'Net::SFTP::Foreign' );
A version string coughed prior to that:
"GIS SSH Server supporting SFTP"
I'm not seeing how that's enough detail to code around the problem,
but I'll defer to your evaluation.
FWIW: Net::SFTP to the same server has yet to be made to work for
reasons beyond me. I'm also highly suspicious of the quality of said
server, "getting" a file (via standard sftp commandline client)
*removes* the file, unlike every other sftp server I've bounced off of.
Let me know if you need further information.
Thank you for your time and effort.
David Sinck