Are you using passive mode for your FTP transfers in your FTP program, if not, you should enable it. It will cure many problems.

As for the timeout setting, you can change it in the ftp configuration file. You should be set for 900 seconds so timeouts should not occur if you are actively transferring files and have passive mode enabled.