Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Showcase Questions /

Feedback and questions about sites in the Community Showcase.

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

File Extensions


Go to End


4 Posts   4746 Views

Avatar
Denny

Community Member, 55 Posts

29 July 2010 at 12:49am

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?

Avatar
Willr

Forum Moderator, 5523 Posts

29 July 2010 at 11:11pm

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';

Avatar
TDNP

Community Member, 19 Posts

16 September 2011 at 11:05am

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?

Avatar
TDNP

Community Member, 19 Posts

16 September 2011 at 11:13am

Nevermind, got it