开发者

file upload in existing site with jquery and codeigniter

开发者 https://www.devze.com 2022-12-31 17:48 出处:网络
I am a new bee to ajax world. I am working on a site which uses jquery and codeigniter which processes big files like 2GB. It basically parses file and stores some extracted data from it, it uses ajax

I am a new bee to ajax world. I am working on a site which uses jquery and codeigniter which processes big files like 2GB. It basically parses file and stores some extracted data from it, it uses ajax to show how far the files have been processed etc.

Now I want to change the way we process files. I want to first store the file on server side and then start the processing. I evaluated upload class of codeigniter 开发者_运维知识库but looks like I cannot use it for this purpose as this class works with field_name and I could not find a way to make an ajax call to the upload class.

My questions is : What would be suitable for my problem?

Thanks in advance,

Sam


To simplify your process, I would use uploadify to handle the 'progress' portion and send the whole thing to your upload controller - which could be handled by the upload class or the old fashioned way, the $_FILES array.

0

精彩评论

暂无评论...
验证码 换一张
取 消