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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.