Easy enough to tell if it's part of the module:

$ grep 'read command channel socket' $(perldoc -l Net::FTPSSL) ? "Can't read command channel socket: $!"

As to handling it - the code around that line makes it relatively obvious why the message is being generated:

# Now lets read the response from the command channel. my $read = sysread( $self, $data, 4096); unless( $read ) { # Not called as an object member in case $self not a FTPSSL +obj. _croak_or_return ($self, 0, (defined $read) ? "Can't read command channel socket: +$!" : "Unexpected EOF on command channel s +ocket!"); return (CMD_ERROR); } }

Combined with the debug log, it looks like you're losing your connection toward the end of the transaction. What happens if you try all of the above manually?

(I also find it rather strange that an automated interaction would invoke 'HELP'. Doesn't smell kosher to me; seems like there's some kind of odd problem happening. In any case, 'perl -d' is your friend.)

-- 
Education is not the filling of a pail, but the lighting of a fire.
 -- W. B. Yeats

In reply to Re: NET:FTPSSL, 555 Can't read command channel socket by oko1
in thread NET:FTPSSL, 555 Can't read command channel socket by ayegorov

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.