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?


Reply


3 Posts   298 Views

Avatar
Arbee

Community Member, 21 Posts

12 August 2013 at 3:53am

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.

Avatar
martimiz

Forum Moderator, 1132 Posts

13 August 2013 at 5:56am

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

http://www.silverstripe.org/general-questions/show/13686

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

http://www.silverstripe.org/general-questions/show/16454

Avatar
Arbee

Community Member, 21 Posts

17 August 2013 at 2:32am

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