Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 602EC11CCA for ; Thu, 26 Jun 2014 17:55:48 +0000 (UTC) Received: (qmail 20967 invoked by uid 500); 26 Jun 2014 17:55:48 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 20935 invoked by uid 500); 26 Jun 2014 17:55:48 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 20922 invoked by uid 99); 26 Jun 2014 17:55:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 17:55:47 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of alvesdds@gmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 17:55:46 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1X0Dsu-0005XV-DS for users@flex.apache.org; Thu, 26 Jun 2014 10:54:56 -0700 Date: Thu, 26 Jun 2014 10:54:41 -0700 (PDT) From: davsantos To: users@flex.apache.org Message-ID: <1403805281396-7034.post@n4.nabble.com> Subject: Flex File I/O Error #2038 - file.upload fails on Mobile IOS MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I need to upload an xml file to the server with a IOS application developed in Flex. I am getting a Flex File I/O Error #2038. It is a very generic i/o error and doesn't provide any further details that would help me track down the root problem. Everything goes well on Windows when debugging the App it only happens when I debug the App on the apple Air tablet. I ran into this post https://www.catalysts.cc/en/wissenswertes/flex-file-io-error-2038-on-mac-clients/ which looks like something similar but to be honest I wasn't able to use this information. It seems that my tablet may be corrupting the URL. I haven't made any traffic monitoring but I can swear the call is not even made. Here is the code: var f:File = new File('app-storage:/Output_WithAllInfo.xml'); var request:URLRequest = new URLRequest(); request.url = http://myHost/JsonServer/?country=DE&language=deu&operationtype=custom&select=[{\"item\":\"*\"}]&sessionid="+sessionId+"&custom=[{\"package\":\"eu.app\",\"name\":\"syncInUpload\",\"data\":{\"nxpkeyProcessId\":"+processId+",\"nxpkeyProcessDefinitionId\":null,\"xml\":null}}]"; request.method = URLRequestMethod.POST; f.upload(request,"xml", false); The request parameters are: authenticate:true cacheResponse:true contentType:null data:null digest:null followRedirects:true idleTimeout:0 manageCookies:true method:"POST" requestHeaders:[] length:0 url:http://domain/JsonServer/?country=DE&language=deu&operationtype=custom&select=[{"item":"*"}]&sessionid=b9f33c5e-0445-49d3-ab5c-a335229596cf&custom=[{"package":"eu.app","name":"syncInUpload","data":{"nxpkeyProcessId":606,"nxpkeyProcessDefinitionId":null,"xml":null}}] useCache:true userAgent:"Mozilla/5.0 (iOS; U; de) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/3.7" And I get the error: Error #2038: File I/O Error. URL: http://domain/JsonServer/?country=DE&language=deu&operationtype=custom&select=[{"item":"*"}]&sessionid=b9f33c5e-0445-49d3-ab5c-a335229596cf&custom=[{"package":"eu.app","name":"syncInUpload","data":{"nxpkeyProcessId":606,"nxpkeyProcessDefinitionId":null,"xml":null}}] I really need help here... Thanks -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-File-I-O-Error-2038-file-upload-fails-on-Mobile-IOS-tp7034.html Sent from the Apache Flex Users mailing list archive at Nabble.com.