For security reason by default WordPress restrict uploading certain types of file like .SVG, .PDF, .AI, .PSD, .CDR, but if you want, you can remove this restriction by simply adding a line of code in your wp-config.php.

To allow any file type in your WordPress open your wp-config.php file then add this line of code define(‘ALLOW_UNFILTERED_UPLOADS’, true); just above /* That’s all, stop editing! Happy publishing. */ and you are done.

Save your wp-config.php file and upload that into your server. Now try to upload any file you want.