in reply to Re^2: Net::SFTP issue -- uninitialized value in Net/SSH/Perl
in thread Net::SFTP issue -- uninitialized value in Net/SSH/Perl

A bit of additional information. I ran the SFTP test script against a host that I know it can connect to. In that case the tail end of the output looks like:
   snapple: Requesting channel_open for channel 1.
   snapple: Sending subsystem: sftp
   snapple: Requesting service subsystem on channel 1.
   snapple: channel 1: open confirm rwindow 0 rmax 32768
   snapple: sftp: Sending SSH2_FXP_INIT
   snapple: sftp: Remote version: 3

However, with the problem connection I get the following:
   snapple: Requesting channel_open for channel 1.
   snapple: channel 0: rcvd eof
   snapple: channel 0: output open -> drain
   snapple: channel 0: rcvd close
   snapple: channel 0: input open -> closed
   snapple: channel 0: close_read
   snapple: channel 0: obuf empty
   snapple: channel 0: output drain -> closed
   snapple: channel 0: close_write
   snapple: channel 0: send close
   snapple: channel 0: full closed
   snapple: sftp: Sending SSH2_FXP_INIT
   Use of uninitialized value in numeric gt (>) at D:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 82.
   Use of uninitialized value in pack at D:/Perl/site/lib/Net/SSH/Perl/Buffer.pm line 105.

Not too sure what that suggests but is it possible that the channel 1 open is somehow interfering with channel 0?

Thanks.

dcoleman

  • Comment on Re^3: Net::SFTP issue -- uninitialized value in Net/SSH/Perl

Replies are listed 'Best First'.
Re^4: Net::SFTP issue -- uninitialized value in Net/SSH/Perl
by Anonymous Monk on Dec 03, 2007 at 22:43 UTC
    You are not passing the correct value to ssh_args. From the documentation:
    ssh_args Specifies a reference to a list or hash of named arguments [...]
Re^4: Net::SFTP issue -- uninitialized value in Net/SSH/Perl
by HiUCImOn (Initiate) on May 07, 2008 at 18:50 UTC
    Did you find a solution? We have the same issue, and switching to use native binaries took care of it, but would prefer to use the full perl module.
      Did any anyone find any solution? Same isue with me even :(
Re^4: Net::SFTP issue -- uninitialized value in Net/SSH/Perl
by Anonymous Monk on May 07, 2008 at 14:16 UTC
    I am having the same issue. Was there ever a solution found? HiUCImOn@Yahoo.com