added cleanup_incomplete, preserved big ftp output