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.

Showcase Questions /

Feedback and questions about sites in the Community Showcase.

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

File Extensions


Reply


4 Posts   3080 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, 5513 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