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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

How do I upload different format files?


3 Posts   241 Views


12 August 2013 at 3:53am Community Member, 21 Posts

Hi, I hope someone can help me. I am using 2.4.5 and need to upload some files that are not images or the usual formats. The formats are for embroidery machines so they include formats such as .SEW .PES .jef and others. How can I upload those to my website?

Thanks for your help.


13 August 2013 at 5:56am Forum Moderator, 1092 Posts

So this is for 2.4.x:
You'd have to add your extensions to the File::$allowed_extensions array:

You might also have to change the .htaccess file in your assets folder. There's some talk on that here:


17 August 2013 at 2:32am Community Member, 21 Posts

Thanks so much Martimiz. That worked great. Didn't need to do the second part.