Skip to Main Content

How to fix the WordPress "Unable to write to disk" error

Divi: the easiest WordPress theme to use

Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

Have you ever encountered the error " Unable to write file to disk When uploading files to WordPress?

This fairly common mistake can be very frustrating for beginners. In this article, we will show you how to fix this error on WordPress.

But, if you've never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog 

But back to why we are here.

not-describe-on-disk-wordpress

What are the causes of file write error when uploading to WordPress?

This error may be due to some causes. But the most common cause is incorrect permission to access folders. Every file and folder on your website has a permission set. Your web server controls access to files through these permissions.

Go further by discovering How to manage WordPress files and folders

Incorrect permissions to access a folder may deprive you of the right to add files to the server. This means that your web server cannot create or add new files in this folder..

If you try to upload images or other files from the WordPress admin area, you will see one of the following error messages:

  • WordPress failed to write to disk
  • WordPress failed to download due to error writing file to disk
  • Could not create folder wp-content / uploads / 2016 / 03. Is its parent folder writable by the server?

How to fix the write to disk error in WordPress

First, you need to log into your WordPress website using a FTP client. For this tutorial we are using the free FTP client fileZilla. If you use another FTP client, it may look a little different.

Discover How to use FTP on Windows 10

Once you are logged in, you have to right click on the folder wp-content and select the file permissions.

configure-the-permissions-of-files-tutorial-wordpress-how fix-a-mistake-décriture-on-disk

This will bring up the file permissions dialog in your FTP client. You will see the owner, group, and audience permissions.

change-of-permissions-tutorial-wordpress-how fix-a-mistake-décriture-on-disk

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

You must enter "755" in the numeric value field.

After that, you have to check the box next to « Proceed recursively in subdirectories« . Finally, you have to click on the option « Apply to file only« . Click on the button " OKAY " to continue.

Your FTP client will set folder permissions to 755 and apply them to all subfolders in the folder wp-content. This includes downloading the folder where all the images are stored. You can also make sure that the permissions for the individual files in your folder wp-content Are correct.

Go further by discovering How to correct a file permission problem on WordPress

Again, right click on the folder wp-content and select file permissions. This time we will be able to change permissions based on files. Come in " 644 In the field, then check the box next to "Proceed recursively in the sub-directories".

Finally, you have to click on the option « Apply to file only« . Click on the OK button to continue. Your FTP client will set permissions to 644 for all files in the folder wp-content.

You can visit your WordPress website and try uploading files. If you still see this error, contact your hosting provider and ask them to empty the temporary files folder.

See also 6 FTP clients for WordPress users

WordPress uploads your images using the language PHP, which first saves downloads to a temporary folder on your web server. After that, it moves them to your WordPress folder.

If this temporary folder is full, or if it is misconfigured, WordPress will not be able to write the file to disk.

We also invite you to discover these 10 WordPress plugins to improve the visual of your website

The temporary folder is on your server and in most cases you can not access it using FTP. You will have to contact your host and ask him to empty it for you.

Here ! Now you will be able to correct the error " unable to write to disk »

Divi: The best WordPress theme of all time!

With over 701.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Discover also some themes and premium WordPress plugins  

You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. Zxeion

Zxeion is a powerful premium WordPress plugin responsible for improving the security of your website. This plugin contains a collection of protection and security tools that will protect your website from possible attacks.Zxeion wordpress plugins protect site against malware virus attacks

Its real-time protection system will help you identify threats to your website and block them, without you having to do anything.

Discover our 10 WordPress Themes to Create an Event Website

Its main features are: real-time protection, excellent customer support, regular updates, an IP address blocker, excellent documentation, modern and professional interface, dedicated customer support and others.

Download | Demo | Web hosting

2. Media Library Categories Premium

This premium WordPress plugin offers you the possibility to use categories in the WordPress Media Library and to filter them when inserting media in your publications.Media Library Categories Premium

When enabled, a drop-down list of categories will appear in the Media Library. You will be able to change the category of multiple items at once with bulk actions.

Here is also a list of 10 WordPress Themes to Create an e-Commerce Website

Its features are among others: adding, modifying, and deleting categories, group modification of several categories, the ability to filter your media and categories in the media library and others.

Download | Demo | Web hosting

3. Event Booking Pro

This is another 100% responsive premium WordPress plugin, easy to customize and dedicated to the management of reservations on any website, which offers its services in the fields of events.

Event Booking Pro

Its main features include: customizing text, color, borders and more, PayPal support, management of coupon codes and coupons, the support of Google Maps, the support of the management of e-mails, the support of the shortcodes, intuitive control panel, easy event creation, total control over appearance, etc.

Download | Demo | Web hosting 

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]

Recommended Resources

Find out about other recommended resources to help you build and manage your website.

Conclusion

That is all ! We hope this article has helped you resolve the error " Unable to write file to disk On your WordPress website. Do not hesitate to share with your friends on your favorite social networks

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.

And if you have any suggestions or remarks, leave them in our section Comments.

... 

This article features 0 comments

Leave a comment

Your email address will not be published. Required fields are marked with *

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
14 shares
Share14
tweet
Save