Jump to:

130 Posts in 947 Topics by 55 members

Showcase Questions

SilverStripe Forums » Showcase Questions » File Extensions

Feedback and questions about sites in the Community Showcase.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2891 Views
  • Denny
    Avatar
    Community Member
    55 Posts

    File Extensions Link to this post

    I have a exe.file that I want to upload into the images section of Silverstripe, but for some reason it can't upload, because Silverstripe doesn't accept it. Anyway, it's an exe.file, and it should be accepted, but maybe it has something to do with the extension. I don't know. Anyway, is there a way to upload this file into Silverstripe?

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: File Extensions Link to this post

    You probably need to add exe to the allowed_extensions. Its not there by default. Put this in your config file

    File::$allowed_extensions[] = 'exe';

  • TDNP
    Avatar
    Community Member
    19 Posts

    Re: File Extensions Link to this post

    I have a related issue. I was able to get Uplodify working with executable files but they won't show up in the CMS folders. That makes linking to them a little difficult for some of my users. Is there a way that SS will show .exe and .msi files in the file tree?

  • TDNP
    Avatar
    Community Member
    19 Posts

    Re: File Extensions Link to this post

    Nevermind, got it

    2891 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.