NetTalk Central

Author Topic: File Upload Failing in IE browser but not in Chrome or Firefox  (Read 4330 times)

sukhendu

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
File Upload Failing in IE browser but not in Chrome or Firefox
« on: December 01, 2014, 07:18:16 PM »
File upload is failing (see the attached jpg file) in IE-11 as well as in IE-8.  But no problem in Chrome or Firefox.  I'm sure it is to do with some kind of IE setting.  I would appreciate any hint.

Thank you.
Sukhendu Barua

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: File Upload Failing in IE browser but not in Chrome or Firefox
« Reply #1 on: December 01, 2014, 10:45:56 PM »
can you send me an example app that I can try here?

cheers
Bruce

sukhendu

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
Re: File Upload Failing in IE browser but not in Chrome or Firefox
« Reply #2 on: December 02, 2014, 07:10:55 AM »
Bruce,

Attached zip file has app, exe, and dct files.  Note: the file upload works fine in Chrome, but not in IE.

Thanks,
Sukhendu

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: File Upload Failing in IE browser but not in Chrome or Firefox
« Reply #3 on: December 02, 2014, 10:44:22 PM »
Good news, bad news, and some other news.

On the good news front I can at least duplicate the problem in IE8. However there's no clear indication what is causing the problem, and it's likely to be deep in the plumbing. On the up side the file itself is actually uploaded (and the _exact_ same response is sent back in both cases.)

On the bad news front I'm not seeing any problem in IE 11 (or 10 or 9). So I'm not able to get the effect you are getting there. I'm using IE11 as my browser, and the F12 developer tools to put the browser into "Edge" (ie 11), 10,9 and 8 modes.

Are you sure there's a problem in IE 11 on your side? I'm going to update the javascript for the 8.33 build anyway - but I tried with the current javascript and no problems in 11.

Cheers
Bruce

astahl

  • Sr. Member
  • ****
  • Posts: 308
    • View Profile
    • Email
Re: File Upload Failing in IE browser but not in Chrome or Firefox
« Reply #4 on: December 03, 2014, 09:42:10 AM »
Hi Bruce,

That is the one problem I had with file upload with IE8, IE9, and IE10. I had to code for the detection of IE and switch the upload to the old method.

Ashley

sukhendu

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
Re: File Upload Failing in IE browser but not in Chrome or Firefox
« Reply #5 on: December 03, 2014, 01:29:08 PM »
Bruce,

IE-11 works fine.  I was testing on 2 computers.  I thought I was using IE-11 on the other computer, but both have IE-8.

How to detect which browser user is using?

Regards,
Sukhendu

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: File Upload Failing in IE browser but not in Chrome or Firefox
« Reply #6 on: December 03, 2014, 09:53:33 PM »
p_web.useragent = 'msie8'