Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
If e.g. I have a get command and it returns 0, I know an error's happened.
I can then check $ftp->code and $ftp->message to find out what went wrong, however this won't work if the server closed the connection and threw me off without giving me a reply.
So how do I detect for an EOF?
Cheers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: NET::FTP - Unexpected EOF on command channel
by Eureka_sg (Monk) on May 15, 2001 at 18:59 UTC | |
by Anonymous Monk on May 15, 2001 at 19:16 UTC | |
|
(tye)Re: NET::FTP - Unexpected EOF on command channel
by tye (Sage) on May 15, 2001 at 21:02 UTC | |
by lestrrat (Deacon) on May 15, 2001 at 21:20 UTC | |
by Anonymous Monk on May 16, 2001 at 13:45 UTC | |
by Anonymous Monk on May 16, 2001 at 17:56 UTC | |
|
Re: NET::FTP - Unexpected EOF on command channel
by jeroenes (Priest) on May 15, 2001 at 19:08 UTC | |
by Anonymous Monk on May 15, 2001 at 19:41 UTC |