Here you can find the info needed to add file validation to form_validation class of code igniter Please check the download section to get a copy of your code
The validation on the page is the following:
<? $this->form_validation->set_rules($file_field_name,"YOUR FILE",
The max file upload size is set to 750K in php.ini . You can try to upload a bigger file to see how it reacts.