CodeIgniter Forums
Upload matlab and mesh files - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Upload matlab and mesh files (/showthread.php?tid=70506)



Upload matlab and mesh files - maximeBenoit - 04-19-2018

Hello,

Being currently building an application to share Matlab and mesh files, ".m" and ".mail", I have problems uploading them to my server. I yet add two lines of command in the configuration file, mimes.php. Could you tell me the best way to upload these files?

mimes.php
// Add for Mastlab and mesh files
        'm'     =>      'application/octet-stream',
        'mail'  =>      array('application/octet-stream', 'text/plain'), etc...