The simplest solution would be to increase the timeout value on the in the FTP server software itself. Often, the default timeout is very short.