<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Errors in the file manager when there are spaces in the path]]></title><description><![CDATA[<p dir="auto">I have errors in the file manager when trying to rename or move a file. I believe it happens when there are spaces in the full path. It seems that there's a mistake somewhere with the URL-encoding of the file paths, and the server responds with a 500 error.</p>
<p dir="auto">In my case, it's for a Volume, but I guess it would be the same in the file manager of a normal app data.</p>
<p dir="auto">Request:</p>
<pre><code>PUT https://my.cloudron.url/api/v1/volumes/VOLUME_ID/files/directory%20with%20spaces/file.ext

{"action":"rename","newFilePath":"directory%20with%20spaces/new subdirectory with spaces/filename.ext"}
</code></pre>
<p dir="auto">Response :</p>
<pre><code>500
 { errno: -2, code: "ENOENT", syscall: "rename", path: "/app/data/VOLUME_ID/directory with spaces/filename.ext", dest: "/app/data/VOLUME_ID/directory%20with%20spaces/new subdirectory with spaces/filename.ext" }
</code></pre>
<p dir="auto">I notice weird stuff with the spaces in the path. In the original path, it seems all spaces are actually spaces. But in the destination, up to the current directory it's with <code>%20</code>s, but the directory to which I'm trying to drag &amp; drop my file correctly has spaces.</p>
<p dir="auto">(I have tried to anonymize some stuff in my logs, so I may have made mistakes, but I tried to keep it coherent with what I saw)</p>
]]></description><link>https://forum.cloudron.io/topic/4562/errors-in-the-file-manager-when-there-are-spaces-in-the-path</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 01:10:45 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/4562.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Mar 2021 23:52:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Errors in the file manager when there are spaces in the path on Tue, 02 Mar 2021 10:14:03 GMT]]></title><description><![CDATA[<p dir="auto">This is fixed with <a href="https://git.cloudron.io/cloudron/dashboard/-/commit/99f096c9711528406144e0245f8020c502d6490a" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/dashboard/-/commit/99f096c9711528406144e0245f8020c502d6490a</a> and will be part of 6.2 then</p>
]]></description><link>https://forum.cloudron.io/post/26861</link><guid isPermaLink="true">https://forum.cloudron.io/post/26861</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 02 Mar 2021 10:14:03 GMT</pubDate></item><item><title><![CDATA[Reply to Errors in the file manager when there are spaces in the path on Tue, 02 Mar 2021 09:54:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mehdi" aria-label="Profile: mehdi">@<bdi>mehdi</bdi></a> good catch. I can confirm and reproduce this. Working on a fix.</p>
]]></description><link>https://forum.cloudron.io/post/26860</link><guid isPermaLink="true">https://forum.cloudron.io/post/26860</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 02 Mar 2021 09:54:04 GMT</pubDate></item></channel></rss>