> I have ssh and Net::SFTP working in an SSH2 environment (mostly
> Solaris as a platform). It all works fine except for the methods
> that return handles. These all return undef with no error or
> warning messages. I added some debug to the source and can see
> that each one gets an ID but that the get_handle() call on that
> ID returns undef. Specifically, I've been trying to get the
> do_open() and do_opendir() methods to work.
It turns out I am getting handles. I was just trying to print
them and they're unprintable. In bytes, I get these 3 handles
for 2 directory opens and a file open:
00 00 00 00
00 00 00 01
00 00 00 02
Maybe this will help someone else who's expecting them to actually
be _printable_ strings as I was.
--
Steve Sapovits GSI Commerce, Inc. http://www.gsicommerce.com
Email: sap...@gs...
Work: 610-491-7087
Mobile: 610-574-7706
|