I have written a multi-file uploader in flash recently for the project I'm currently involved with. The applet works great in IE / firefox on windows, but has a few problems running on Mac OS X. I've made sure I have the latest flash player from MM (8,0,22,0), and tested the applet in OS X 10.3 & 10.4 on Safarai, Camino and Firefox. In none of these does the uploader work properly. After doing a lot of testing, it appears that the onComplete event is never fired in the Mac flash player. I've captured the packets during the upload process and made sure that the applet was getting a successful http response code back, which it is, but onComplete still doesn't fire. When I figured this out, I assumed I might be able to use the onProgress event to determine if a file had completed, but onProgress doesn't fire on very small (less than 2-3kb, sometimes larger) files. Again, this only occurs on the Mac player, in windows, onProgress will fire no matter what the file size is. Has anyone else seen these issues? For testing purposes, here is a very simple upload applet that prints out all the events as they happen during an upload. Sample .fla and actionscript is also available. In creating a test website for this, It also seems that the Mac player doesn't follow the OS http proxy settings for the upload() method, where as it does for other http requests (LoadVars, getURL, XML.send. . .) Another issue, which I have seen a few posts on, is that the upload() method doesn't pass along the browsers cookies with the POST when all the other http requests objects/methods in flash do (LoadVars, getURL, XML.send, XML.sendAndLoad. . .) Any information on these issues would be greatly appreciated. This has been posted in the Flash General forums as well. Brian Zoetewey Campus Crusade for Christ, Intl.
I got the same pb. It seems that upload isn't possible behind a proxy :( even in IE or Firefox, the proxy ask an identfication for the swf but it's failed (IO error) It will be great if someone has a solution, or if Macromedi can patch that soon ;)
Im also using fileupload with osx but I have expirenced some other major issues and really just want to see if other Mac users have the same problems. Havent tried the multi-file upload yet. But I post it here since you have expirence with the fileupload feature. My problem is if I try to upload a large file( say 30-40 mb), the browser eventually get an unexpected quit in the middle of the upload. Using activity monitor I see that flash player allocates up to 3 giga of virtual memory and cpu goes to 100%. Upload works like a charm with smaller files (1,2,3 mb files). Have anyone of you tried to upload a large file ? regards Lars Erik Lindseth
it is not just use file upload does not work correctly on the mac - although the files upload fine the onProgress , onComplete and onOpen all seem to have some bugs , MM/Adobe admit to systems below 10.3 having issues with onProgress but 10.3 & 10.4 dont really work I have been told a work around is to monitor the onProgress event and manually fire the complete event. I have not had time to do it yet. A real pain code works fine on windows but no good on mac , not x platform is very bad unless anyone else has a working example of file upload working on mac !! 10.4.4 FP8.5Alpha - no good with reporting flash upload status
Don't see what you're looking for? Try a search.
|