Hello, I am dynamically exporting data from db in a excel file called 'mydata.xls' using phpExcel with CI. I am not going to force download that file on user browser, Just only want to export data in a excel file & upload that file on 'uploads' folder. So i am trying to upload this generated excel file 'mydata.xls' using do_upload() in CI, But having no idea how to do it, as i have no form field name like-($_FILES['userfile']), to pass in do_upload() . kindly guide me regarding these issue. Thanks & regards.