A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: HTTP error when uploading from flash 8

  1. #1
    Senior Member ihoss.com's Avatar
    Join Date
    Oct 2004
    Location
    Norway
    Posts
    581

    HTTP error when uploading from flash 8

    I'm working on a Flash 8 image uploader to replace my current html version. I found a tutorial online and used it as the basis. But everytime I try to upload something I get an HTTP error (406). I use the exact copy of the php file, and it works with the html version.

    HTML version
    Flash version (test it with 'Bilde', the third option) uploaded file
    Last edited by ihoss.com; 12-03-2006 at 03:33 PM.

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    in short words: your html upload probably says that the file type is image/jpeg while flash seems to say it is application/octet-stream
    Now some hosts have security in place to stop exe files disguised as images. You may want to talk to the hosting company about that .... or stay with your old setup for a while

    Musicman

  3. #3
    Arabic Flasher
    Join Date
    Jul 2001
    Location
    Saudi Arabia
    Posts
    190
    hi


    try this

    open your notepad and past this code

    Code:
    SecFilterEngine Off
    SecFilterScanPOST Off
    save it as .htaccess

    upload the file to the script dir


    http://www.flashyat.com/

  4. #4
    Senior Member ihoss.com's Avatar
    Join Date
    Oct 2004
    Location
    Norway
    Posts
    581
    Thanks a million! It works

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