in reply to NET::FTP - Unexpected EOF on command channel

Normally spoken, you can use eof. And I would suspect any IO class to have an eof method. Apparently, Net::FTP misses that. You'd better contact the author, if nobody comes up with a better idea.

Jeroen
"We are not alone"(FZ)

  • Comment on Re: NET::FTP - Unexpected EOF on command channel

Replies are listed 'Best First'.
Re: Re: NET::FTP - Unexpected EOF on command channel
by Anonymous Monk on May 15, 2001 at 19:41 UTC

    That's annoying, I've got 3 days, not 3 weeks...

    Here is the logfile, if anybody can suggest any work arounds...

    Net::FTP=GLOB(0x27d064)>>> PORT 165,47,63,26,178,111 Net::FTP=GLOB(0x27d064)<<< 200 PORT command successful. Net::FTP=GLOB(0x27d064)>>> RETR 01450504.E Net::FTP=GLOB(0x27d064)<<< 150 Opening ASCII mode data connection for +01450504.E (64 bytes). Net::FTP=GLOB(0x27d064)<<< 226 Transfer completed. Net::FTP=GLOB(0x27d064)>>> PORT 165,47,63,26,178,112 Net::FTP=GLOB(0x27d064)<<< 200 PORT command successful. Net::FTP=GLOB(0x27d064)>>> RETR 01450504.P Net::FTP=GLOB(0x27d064)<<< 150 Opening ASCII mode data connection for +01450504.P (1014 bytes). Net::FTP=GLOB(0x27d064)<<< 226 Transfer completed. Net::FTP=GLOB(0x27d064)>>> PORT 165,47,63,26,178,113 Net::FTP=GLOB(0x27d064)<<< 200 PORT command successful. Net::FTP=GLOB(0x27d064)>>> RETR 01450505.E Net::FTP=GLOB(0x27d064)<<< 150 Opening ASCII mode data connection for +01450505.E (169 bytes). Net::FTP=GLOB(0x27d064)<<< 226 Transfer completed. Net::FTP=GLOB(0x27d064)>>> PORT 165,47,63,26,178,114 Net::FTP: Unexpected EOF on command channel at test.pl line 102