Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Perl Net::FTP put() gives little help on errors

by amitsk (Initiate)
on Jan 07, 2010 at 10:05 UTC ( #816065=note: print w/replies, xml ) Need Help??

in reply to Re: Perl Net::FTP put() gives little help on errors
in thread Perl Net::FTP put() gives little help on errors

Even when checking for errors like having if (! $ftp->put("")) and getting $ftp_message, the $ftp_message is still empty!

note, on the cmd window, I am seeing this
Net::FTP: Unexpected EOF on command channel at C:/Perl/lib/Net/FTP/ line 73
so question if why is $ftp->message empty?

Replies are listed 'Best First'.
Re^3: Perl Net::FTP put() gives little help on errors
by cdarke (Prior) on Jan 07, 2010 at 10:40 UTC
    A guess here, I found this comment in my version of C:/Perl/lib/Net/FTP/dataconn ($VERSION=0.11) in the abort function.
    # for some reason if we continously open RETR connections and not # read a single byte, then abort them after a while the server will # close our connection, this prevents the unexpected EOF on the # command channel -- GMB
    In this case the code aborts - it does not appear to update the error message.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://816065]
[Eily]: let me inform you that the Dutch reek translate into the Czech páchnout
[Eily]: very useful default translation :P
[Eily]: BTW LanX, you should try typing a few random chars at the beginning of each message. This will prevent expansion :P
[LanX]: qwiud you sthink so?
[LanX]: zxwqbd good idea! :)
LanX embraces his new habit spqopiwjdnq
[ambrus]: qQUkZTmHTuKxStGT- BzTIK9gdudif7TkTLI t3mnF144UaAZjkknXY 8nN-QM19wHBsTrp5vB lEYU_Kksa7X1RIBB4x EWLD5X7SW3jGX5ryfN OMn_yL5FTdQxzjhtyX mKN9sjUCzBNHK5Rrp0 S2WMUvIb1i9aZFgjtq VR0GH1bjPMvm1G16iz hBqc1U6toPd4FbJOFj VsOeT745AN1_pO88rD SRAYKtBZwCZedESZmN mvutrOTHiSNwflB- pRfn_k
[Eily]: so far it seems to work
Your Mother reminds the monks they should be grateful not to share an office, lest they be subjugated to constant inanities like, "Czech please!"
[LanX]: what's strange is that the "Cowboy you said this already" message is missing #dqiwd

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2017-03-27 16:51 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.