in reply to Net::FTP Unexpected EOF

You have 2 connections when you FTP, a command channel and a data channel. The server daemon will timeout a particular channel if it has not seen data in a while. Unfortunately that means if the daemon has a timeout of 5 minutes and your download takes 6 the command channel (which has seen no data) will shutdown after 5 minutes of the upload. The data channel will not timeout (for obvious reasons).

So to make a long answer short: increase the timeout of the daemon.

<stong>BTW: if you want to read a more detailed explaination this link will help.

grep
grep> cd pub grep> more beer