Recently, the project needs to learn about flex and use filereference to upload files. The result is always reported #2038 error.
After checking for a long time, I finally found a lot of prompts here.
Io Error #2038
Http://swfupload.org/forum/generaldiscussion/92
One of them is like this. Flash Io errors are not very helpful. The same couple of error numbers are returned for just about everything.
Here are some common issues that cause these error codes:
-Invalid URL
-Server Max post size or Max upload size exceeded
-Server unexpectedly terminates the connection
-Zero Byte File Uploaded
-Basic authentication failed
To debug these issues I first verify that my upload is working using a standard HTML upload form pointing at my upload. php
The Flash I/O error prompt is not very useful. Several error codes contain all the error messages. I/O errors are listed below. We recommend that you use the original HTML upload method to ensure that the uploaded page is correct.
The result is actually caused by an error in UP. aspx.