![]() |
Flash multiple upload doesn't work with CI upload library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Flash multiple upload doesn't work with CI upload library (/showthread.php?tid=35141) |
Flash multiple upload doesn't work with CI upload library - El Forum - 10-20-2010 [eluser]Unknown[/eluser] Hi, I'm trying to do my own multiple file upload form using flash. I have prepared swf and controller. If my action looks like this: Code: public function upload() everything works perfect - the file is uploading. But when i change action to (http://ellislab.com/codeigniter/user-guide/libraries/file_uploading.html): Code: public function upload() Furthermore second option works fine with HTML form. I'm a little bit confused. Any ideas? Flash multiple upload doesn't work with CI upload library - El Forum - 10-20-2010 [eluser]danmontgomery[/eluser] What does "doesn't work" mean? Are you using swfupload/have you used the debug feature to see what is failing? Have you checked $this->upload->display_errors()? Flash multiple upload doesn't work with CI upload library - El Forum - 10-20-2010 [eluser]Unknown[/eluser] I found solution here. Flash sends the file with the application/octet-stream mime type, so i get invalid file type error. I didn't use SWFupload, but i tried to do flash uploader myself. Thanks for help. Flash multiple upload doesn't work with CI upload library - El Forum - 10-20-2010 [eluser]CroNiX[/eluser] Dont forget also, that flash doesn't pass your sessionid, so if you are using CI sessions and the session ID changes inbetween one of the uploaded files, it will ruin the session. |