1 Reply Latest reply on May 11, 2008 3:27 PM by Dr. Fred Mbogo

    Timelimit for POST-Data?

    messeb50 Level 1
      Hi,
      I try to send xx MB POST - Data to a serverside script with URLLoader and URLRequest.
      But after ~30 seconds I get an error!

      [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 errorID=2032]

      I get the error with Flex 3, Flash CS3 and after I deploy it to an AIR program on Windows XP.
      Is there a limit for POST Data?
        • 1. Re: Timelimit for POST-Data?
          Dr. Fred Mbogo Level 1
          Some web servers don't know how to take more than 2 GB. If your data is binary and gets URL encoded for some reason, cut that in 1/3, as that's the expansion factor for URL encoding.

          If you must use an HTTP POST for upload, you should be using the same mechanism a browser does for a file upload: Google multipart form and file upload.

          If you need to upload really large files, it's better to use a protocol designed for the purpose: FTP, SCP, WebDAV.... Or, design something custom.