Re: [flexcoders] #2038: File I/O Error
We would get that error a lot when the file was too big. Try increasing your upload size. On Wed, Jul 2, 2008 at 1:01 PM, lytvynyuk <[EMAIL PROTECTED]> wrote: > I getting this error, but when I put breakpoint at my server side code > nothing coming through!! When I created little HTML page with file > upload filed to same servlet location - IT WORKS! > > I used "Live HTTP headers" to see activity on HTTP requests - > nothing nothing going through, also I used Wireshark - same effect. > > So what is going on ? any Ideas? > > AS code is extremely simple: > > var request:URLRequest = new URLRequest(); > request.url = UPLOAD_URL; > fr.upload(request); > fileNameLabel.text = fr.name; > > >
[flexcoders] #2038: File I/O Error
I getting this error, but when I put breakpoint at my server side code nothing coming through!! When I created little HTML page with file upload filed to same servlet location - IT WORKS! I used "Live HTTP headers" to see activity on HTTP requests - nothing nothing going through, also I used Wireshark - same effect. So what is going on ? any Ideas? AS code is extremely simple: var request:URLRequest = new URLRequest(); request.url = UPLOAD_URL; fr.upload(request); fileNameLabel.text = fr.name;
Re: [flexcoders] #2038: File I/O Error only in firefox
It isn't either of those problems. The file is fine, and the path is correct. Internet Explorer successfully uploads the file with no problems. I do have a handler for the error, but need to fix the problem causing the error. On Wed, Jun 4, 2008 at 3:36 PM, Joseph Balderson <[EMAIL PROTECTED]> wrote: > Either your file is corrupted, or the path to the file cannot be found, > and you've not created an IOError event handler to catch the event. > __ > > Joseph Balderson | http://joeflash.ca > Flex & Flash Platform Developer | Abobe Certified Developer & Trainer > Author, Professional Flex 3 (coming Winter 2008) > Staff Writer, Community MX | http://communitymx.com/author.cfm?cid=4674 > > > Dennis Falling wrote: > > I searched the web and the group and found a thread going about this > > without a resolution (started with msg. 88102). Does anyone know a way > > around this? I need to allow the user to upload files over SSL, which > > works fine from IE but explodes in Firefox. > > > > Code: > > var url:String = > > Services.getCommandServiceURL(FileDelegate.UPLOAD_FILE_COMMAND); > > var request:URLRequest = new URLRequest(url); > > request.method = URLRequestMethod.POST; > > _file.upload(request,"fileData",false); > > > > When run in Firefox, I get a flash exception: > > Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. > > > > Watching it in Wireshark I see the initial post, then a number of > > subsequent lines "Continuation or non-HTTP traffic". > > > > Thanks! > > > >
Re: [flexcoders] #2038: File I/O Error only in firefox
Either your file is corrupted, or the path to the file cannot be found, and you've not created an IOError event handler to catch the event. ___ Joseph Balderson | http://joeflash.ca Flex & Flash Platform Developer | Abobe Certified Developer & Trainer Author, Professional Flex 3 (coming Winter 2008) Staff Writer, Community MX | http://communitymx.com/author.cfm?cid=4674 Dennis Falling wrote: > I searched the web and the group and found a thread going about this > without a resolution (started with msg. 88102). Does anyone know a way > around this? I need to allow the user to upload files over SSL, which > works fine from IE but explodes in Firefox. > > Code: > var url:String = > Services.getCommandServiceURL(FileDelegate.UPLOAD_FILE_COMMAND); > var request:URLRequest = new URLRequest(url); > request.method = URLRequestMethod.POST; > _file.upload(request,"fileData",false); > > When run in Firefox, I get a flash exception: > Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. > > Watching it in Wireshark I see the initial post, then a number of > subsequent lines "Continuation or non-HTTP traffic". > > Thanks! >
[flexcoders] #2038: File I/O Error only in firefox
I searched the web and the group and found a thread going about this without a resolution (started with msg. 88102). Does anyone know a way around this? I need to allow the user to upload files over SSL, which works fine from IE but explodes in Firefox. Code: var url:String = Services.getCommandServiceURL(FileDelegate.UPLOAD_FILE_COMMAND); var request:URLRequest = new URLRequest(url); request.method = URLRequestMethod.POST; _file.upload(request,"fileData",false); When run in Firefox, I get a flash exception: Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. Watching it in Wireshark I see the initial post, then a number of subsequent lines "Continuation or non-HTTP traffic". Thanks!