Title: Enabling File types
Last modified: August 24, 2016

---

# Enabling File types

 *  [orangechico](https://wordpress.org/support/users/orangechico/)
 * (@orangechico)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/enabling-file-types/)
 * Hi, I’d like to know how to set specific file types for uploads such as TXT, 
   DOC, DOCX and etc.
 * Thanks
 * [https://wordpress.org/plugins/cloud/](https://wordpress.org/plugins/cloud/)

Viewing 1 replies (of 1 total)

 *  [HonestRepairAdmin](https://wordpress.org/support/users/honestrepairadmin/)
 * (@honestrepairadmin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/enabling-file-types/#post-6170379)
 * Hello!
 * I also wanted to accomplish this. I have found several ways. I am away from my
   current server ATM, so I cannot reference my current deployment, but in the past
   a secure way to add extensions was to navigate to the /plugins/cloud and modify
   the setup_utilities.php. At the very bottom of the file there is an array containing
   supported extensions. As long as the file extension you add to the array is formatted
   the same as all the existing types, and as long as the extension you’re adding
   is a valid MIME file-type WP_Cloud should transfer the file no problem. I have
   another method (Which I will upload later, when I can access my deployment) that
   will automatically allow all extensions except PHP files, which will cause problems
   when the server tries to transfer the file to the users Cloud folder.
 * Please note, the default Apache deployment will limit the max file transfer size
   for a client using the cloud to 2MB. If you’re hosting yourself you need to modify
   your PHP configuration ( /apache2/php.ini ) to allow file transfers over 2MB.
   It would also be a good idea to increase all the connection timeouts to a value
   that won’t interfere with users uploading from slow connections.
 * In addition to these changes, it would be a good idea to deploy some type of 
   virus scanning. Users will be able to upload whatever they want. You don’t want
   to be a haven for nefarious deeds online. A strong privacy policy, some backup
   system using Unison, and some ClamAV anti-virus would be a good companion for
   your Cloud server deployment.
 * 🙂

Viewing 1 replies (of 1 total)

The topic ‘Enabling File types’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cloud_4a6ca9.svg)
 * [WP Cloud](https://wordpress.org/plugins/cloud/)
 * [Support Threads](https://wordpress.org/support/plugin/cloud/)
 * [Active Topics](https://wordpress.org/support/plugin/cloud/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloud/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloud/reviews/)

## Tags

 * [File Type](https://wordpress.org/support/topic-tag/file-type/)

 * 1 reply
 * 2 participants
 * Last reply from: [HonestRepairAdmin](https://wordpress.org/support/users/honestrepairadmin/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/enabling-file-types/#post-6170379)
 * Status: not resolved