I know that one of the FTP services on Yahoo! uses the following technique. It waits 15 minutes for no activity on the file. Not perfect by far as if the file is sent from an automated process and dies half way through, the error might not get picked up.
"To be civilized is to deny one's nature."