2 Replies Latest reply on Jul 31, 2008 3:45 PM by Kira3005

    ioError 2038 only under mac

    Kira3005
      Hello all,

      I have the following code in order to upload files:

      fList .uploading = true;
      request = new URLRequest(" http://mysite:80/data.php?id="+idFile);
      request.method = URLRequestMethod.POST;
      request.manageCookies = false;
      fList.upload(request, "data", false);
      fList.addEventListener(ProgressEvent.PROGRESS, progressHandler);
      fList.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, onEndUpload);
      fList.addEventListener(IOErrorEvent.IO_ERROR, onUploadError);

      Everything works great under windows but under mac I have a ioError code 2038 as soon as I click my upload button. I'm going crazy I spend 1 week on this problem and I've still not find the issue.

      Please help me!
      Thanks for your help ^^
        • 1. Re: ioError 2038 only under mac
          Level 7

          "Kira3005" <webforumsuser@macromedia.com> wrote in message
          news:g6sppf$87k$1@forums.macromedia.com...
          > Hello all,
          >
          > I have the following code in order to upload files:
          >
          > fList .uploading = true;
          > request = new URLRequest(" http://mysite:80/data.php?id="+idFile);
          > request.method = URLRequestMethod.POST;
          > request.manageCookies = false;
          > fList.upload(request, "data", false);
          > fList.addEventListener(ProgressEvent.PROGRESS, progressHandler);
          > fList.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, onEndUpload);
          > fList.addEventListener(IOErrorEvent.IO_ERROR, onUploadError);
          >
          > Everything works great under windows but under mac I have a ioError code
          > 2038
          > as soon as I click my upload button. I'm going crazy I spend 1 week on
          > this
          > problem and I've still not find the issue.

          Have you tried stepping through the code to see exactly where it is
          erroring?


          • 2. Re: ioError 2038 only under mac
            Kira3005 Level 1
            The problem is an ioerror, I put the following code to see the exact error :

            Alert.show(io.toString());

            It returns me a 2038 error code...

            Is there something I did wrong?