<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Problem uploading files via /upload API - Carbonio General				            </title>
            <link>https://community.zextras.com/forum/carbonio-general-thread/problem-uploading-files-via-upload-api/</link>
            <description>Zextras Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 06 Mar 2026 17:30:16 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Problem uploading files via /upload API</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/problem-uploading-files-via-upload-api/#post-10308</link>
                        <pubDate>Tue, 15 Apr 2025 13:23:51 +0000</pubDate>
                        <description><![CDATA[So, I have abandoned the API-based approach and created a Python script that provides a way to import folders and files into Carbonio Postgresql server. After some polishing will be able to ...]]></description>
                        <content:encoded><![CDATA[<p>So, I have abandoned the API-based approach and created a Python script that provides a way to import folders and files into Carbonio Postgresql server. After some polishing will be able to share it to anyone interested.</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>AdrianS</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/problem-uploading-files-via-upload-api/#post-10308</guid>
                    </item>
				                    <item>
                        <title>Problem uploading files via /upload API</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/problem-uploading-files-via-upload-api/#post-9845</link>
                        <pubDate>Tue, 21 Jan 2025 13:14:52 +0000</pubDate>
                        <description><![CDATA[Hi,
   I am preparing a migration process to Carbonio CE, and I am investigating a possibility to bulk upload files. I have consulted  removed link  and I was able to obtain an Authenticati...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>   I am preparing a migration process to Carbonio CE, and I am investigating a possibility to bulk upload files. I have consulted  <span style="color:#aaa">removed link</span>  and I was able to obtain an Authentication token. However, when trying to use methods in  <span style="color:#aaa">removed link</span>  , a sudden HTTP 400 appears:</p>
<pre contenteditable="false">$ curl -v -k -X POST -H 'Cookie: ZM_AUTH_TOKEN=0_xxxxxx' -H 'Content-Type: Application/octet-stream' --data-binary @file.odt  <span style="color:#aaa">removed link</span> 

&gt; POST /services/files/upload HTTP/2
&gt; Host: 192.168.1.2
&gt; User-Agent: curl <span style="color:#aaa">removed link</span> 
&gt; Accept: */*
&gt; Cookie: ZM_AUTH_TOKEN=0_xxxxxxx
&gt; Content-Type: Application/octet-stream
&gt; Content-Length: 36673
&gt; 
* upload completely sent off: 36673 bytes
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
&lt; HTTP/2 400 
&lt; server: nginx
&lt; date: Tue, 21 Jan 2025 13:10:17 GMT
&lt; x-envoy-upstream-service-time: 101
&lt; 
* Connection #0 to host 192.168.1.2 left intact
400 Bad Request
$

</pre>
<p>   Am I missing something here? Looks like /download operation is working correctly, so I am probably not very far off.I am not able to locate an error message on the server side.</p>
<p>   Are there maybe some discrepancies between CE and commercial versions when it comes to the Files module?</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>AdrianS</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/problem-uploading-files-via-upload-api/#post-9845</guid>
                    </item>
							        </channel>
        </rss>
		