A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [RESOLVED] "File I/O error #2038" when upload image

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    5

    resolved [RESOLVED] "File I/O error #2038" when upload image

    hello,

    I created an aplication to upload images and when i try to upload the image i got the error "File I/O error #2038". But the application work well when tested localy at my computer but when i test online i got the error.

    anybody help with this error?

  2. #2
    Member
    Join Date
    May 2007
    Posts
    31
    You have to make sure you have read/write privileges on the the folder you are trying to complete the upload to.

    Also

    You have to change the php.ini:

    upload_max_filesize = 1024M (or more if you want to)
    post_max_size = 1024M (or more, equivalent to the upload_max_filesize)

    Also short_open_tag = on must be set in the php.ini, or you get errors.

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    5
    i found the solution!

    just write this two lines in the .htaccess file at the root folder

    SECFILTERENGINE OFF
    SECFILTERSCANPOST OFF



  4. #4
    Junior Member
    Join Date
    Jun 2008
    Posts
    1

    about error 2038

    Hi, im having the same error but i dont work with php, i work with aspnet, so i dond know really how to solve it, can anyone help me?

    Thanx in advance

  5. #5

    Error #2038: File I/O Error on ASP

    I'm getting the same error, but I'm getting some nice, juicy twists Here's the deal:

    1. I've got a Flash application uploading files to the server using an ASP script.
    2. The ASP script works fine if we use an HTML form to submit to it.
    3. The Flash works fine on PC running Internet Explorer and/or Firefox.
    4. The Flash returns "Error #2038: File I/O Error" on a Mac running FireFox and/or Safari

    So basically, it looks like the error has to do with some sort of difference in the way the Flash Player handles file uploads on different OSs, right?

    Anyone have any ideas here?

    Best,

    --eric

  6. #6
    Junior Member
    Join Date
    Mar 2012
    Posts
    1
    Quote Originally Posted by jayjay2007 View Post
    You have to make sure you have read/write privileges on the the folder you are trying to complete the upload to.

    Also

    You have to change the php.ini:

    upload_max_filesize = 1024M (or more if you want to)
    post_max_size = 1024M (or more, equivalent to the upload_max_filesize)

    Also short_open_tag = on must be set in the php.ini, or you get errors.
    Thank you for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center