+ Reply to Thread
Results 1 to 10 of 10

Downloading attachments in IE11 always results in downloading file called attachment.php

  1. #1
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    16,674

    Downloading attachments in IE11 always results in downloading file called attachment.php

    I reproduced a bug report by a user. When using IE11 on Windows 10, clicking on any attachment in any post will result in downloading a file called attachment.php If you are configured to open instead of save, then Windows will prompt you for what application to use to open a PHP file, if you do not have a default set.

    After the download I renamed the file back to .xlsx and it was the intended Excel file.

    I am guessing this is a bug in the forum code though I don't know this would only happen in IE. I use Chrome and see no such problem.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    42,145

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    Yes, this started happening to some users a couple of days ago. It's fine in Firefox.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    50,233

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    I will push this to the TT, see what they come up with
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    16,674

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    Thanks Ford. Vexing problem.

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    2016 Win10
    Posts
    7,151

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    It's because the forum isn't setting the correct MIME type (basically a string that's sent to the browser along with the file to tell it what kind of file it is).

    When this normally happens the browser will guess at the file format, however the forum has added an additional header to prevent this (which is actually good practice). But when the MIME type is incorrect and the browser isn't allowed to guess what it is then the filename will default to the name of the download page (attachment.php).

    This is actually exactly the same reason that IE users can't see png files. I would guess that the TT have just enabled the additional "no guessing" header which is why this has only just started occurring.

    Since AFAIK the png problem isn't fixed, I wouldn't hold your breath on this

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    20,093

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    Why can't they just get you in as a consultant, Kyle? You seem to know a great deal about how to fix some of the problems?

    (Hypothetical question, I know).

    Pete

  7. #7
    Forum Guru jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,747

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    Quote Originally Posted by Kyle123 View Post

    Since AFAIK the png problem isn't fixed, I wouldn't hold your breath on this
    You're correct Kyle...not fixed...pain in the sweet patootie.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    2016 Win10
    Posts
    7,151

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    @Pete, I know what cases them it's web 101, but I know diddly squat about vBulletin

  9. #9
    Forum Guru Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    Quote Originally Posted by Kyle123 View Post
    I know diddly squat about vBulletin
    Looks like you have something in common with the TT.

    Rim shot!

    Going out with a bang.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    31,330

    Re: Downloading attachments in IE11 always results in downloading file called attachment.p

    Rotflmao
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem downloading excel items fro emai attachments
    By goofey44 in forum Excel General
    Replies: 2
    Last Post: 05-24-2014, 08:28 AM
  2. downloading file from Web
    By headhair in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2014, 07:28 AM
  3. Replies: 11
    Last Post: 11-30-2013, 05:46 PM
  4. Excel Forum or My I.E is downloading an attachment with some weird Number
    By AB33 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-25-2013, 04:18 PM
  5. Help with Downloading A CSV file
    By kchappy32 in forum Excel General
    Replies: 0
    Last Post: 06-05-2012, 03:24 PM
  6. downloading changing txt file from ftp
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2011, 07:29 PM
  7. downloading an attachment
    By sa11y in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-12-2005, 04:10 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1