{"id":2657,"date":"2019-10-24T12:12:43","date_gmt":"2019-10-24T12:12:43","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=ht_kb&#038;p=2657"},"modified":"2022-04-13T12:08:06","modified_gmt":"2022-04-13T12:08:06","slug":"fix-destination-directory-for-file-streaming-does-not-exist-or-is-not-writable","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/fix-destination-directory-for-file-streaming-does-not-exist-or-is-not-writable\/","title":{"rendered":"Fix Destination directory for file streaming does not exist or is not writable"},"content":{"rendered":"<p>In this tutorial, you will learn how to fix the &#8220;<strong>Destination directory for file streaming does not exist or is not writable<\/strong>&#8221; error in <strong>WordPress<\/strong> when you try to install a new plugin.<\/p>\n<p class=\"lead\">Incorrect permissions cause this error for the <strong>wp-content\/uploads<\/strong> folder. WordPress needs to create a temporary folder to place the files when downloaded, before installing a new plugin.<\/p>\n<p>You will have to connect over FTP and check the permissions for the folders in wp-content and make sure that they are all using 755 instead of 777.<\/p>\n<p><b>Are you tired of slow WordPress hosting? We use LiteSpeed caching to deliver content to your visitors almost instantly. <\/b>\u26a1<b>\u00a0Check out our <\/b><span style=\"text-decoration: underline;\"><a href=\"https:\/\/chemicloud.com\/wordpress-hosting\/#60b65e4e63b58\" target=\"_blank\" rel=\"noopener\"><span class=\"s1\"><b>WordPress Hosting<\/b><\/span><\/a><\/span><b> plans!<\/b><\/p>\n<p>Additionally, you can create a temporary folder outside of the install directory (e.g above public_html). In other words, find the document root folder of your site and go up a directory. As we are now outside of the public directory, we can now create a folder called \u2018wordpress_temp\u2019 with 777 permissions and not create a security hole.<\/p>\n<p>The next step is to edit the <strong>wp-config.php<\/strong> file in the document root directory and add the following line at the bottom.<\/p>\n<pre><code class=\" hljs lasso\"><span class=\"hljs-class\"><span class=\"hljs-keyword\">define<\/span><\/span>(<span class=\"hljs-string\">'WP_TEMP_DIR'<\/span>, ABSPATH <span class=\"hljs-built_in\">.<\/span> <span class=\"hljs-string\">'\/..\/wordPress_temp\/'<\/span>);<\/code><\/pre>\n<p>You can now return to your WordPress admin panel and try to install a new plugin without any error.<\/p>\n<p>If you enjoyed this tutorial, then you\u2019ll love our support. All ChemiCloud\u2019s hosting plans include 24\/7 support from our amazing support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to fix the &#8220;Destination directory for file streaming does not exist or is not writable&#8221; error in WordPress when you try to install a new plugin. Incorrect permissions cause this error for the wp-content\/uploads folder. WordPress needs to create a temporary folder to&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[40],"ht-kb-tag":[],"class_list":["post-2657","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-wordpress"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=2657"}],"version-history":[{"count":7,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2657\/revisions"}],"predecessor-version":[{"id":7401,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2657\/revisions\/7401"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=2657"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=2657"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=2657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}