in reply to FTP wtih Perl

One option is to use Net::FTP, and specifically set the Timeout value (see the section in the documentation titled CONSTRUCTOR).

It's possible that you may not be able to transfer such a huge file all at once, in which case another option is to split it into multiple pieces, and reassemble it at the other end (assuming you have login or ssh capabilities at the remote end).  If that's an option, look at the Unix split command.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/