{"id":9051,"date":"2026-10-23T14:50:15","date_gmt":"2026-10-23T11:50:15","guid":{"rendered":"https:\/\/support.withsecure.com\/support-articles\/error-while-downloading-database-updates-with-fspm-definitions-update-tool-bat\/"},"modified":"2026-10-23T14:50:15","modified_gmt":"2026-10-23T11:50:15","slug":"error-while-downloading-database-updates-with-fspm-definitions-update-tool-bat","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/en\/support-articles\/error-while-downloading-database-updates-with-fspm-definitions-update-tool-bat\/","title":{"rendered":"Error while downloading database updates with fspm-definitions-update-tool.bat"},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>I&#39;m tryin to download updates for my clients that reside in an offline or isolated environment with the fspm-definitions-update-tool.bat tool, but I receive the error &quot;org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited&quot; while downloading database update archive with the fspm-definitions-update-tool.bat.<\/p>\n<p>Full error from fspm-definitions-update-tool.log:<\/p>\n<ul>\n<li><em>ERROR [c.f.f.d.DefinitionsUpdateDownloadService] - Error while downloading &quot;capricorn-win64&quot; version&quot;1670715594&quot;\u00a0<\/em><br \/><em>org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 201,461,914; received: 9,360,024)<\/em><\/li>\n<\/ul>\n<p>f-secure-updates.zip and withsecure-updates.zip are not created by the update tool when the downloads fail with the mentioned errors.<\/p>\n<p>\u00a0<\/p>\n<h3>Resolution:<\/h3>\n<p>If you receive errors while downloading the update archives with the fspm-definitions-update-tool.bat tool we recommend to delete the contents of the \\Data folder of the tool and the try downloading the database update archives again. When the \\Data\\ folder already has previously downloaded updates within it, it will try to download the diffs for the updates and not the full updates.\u00a0<\/p>\n<p>Also make sure that the network connection on the device you are running the fspm-definitions-update-tool.bat tool on has a very stable network connection. The tool is very sensitive to network disruptions. Try to copy the tool to another device and download the updates with it.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I receive the error \"org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited\" while downloading database update archive with the fspm-definitions-update-tool.bat.<\/p>\n<p>Full error from fspm-definitions-update-tool.log:<\/p>\n<p>ERROR [c.f.f.d.DefinitionsUpdateDownloadService] - Error while downloading \"capricorn-win64\" version\"1670715594\"\u00a0<br \/>\norg.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 201,461,914; received: 9,3<\/p>\n","protected":false},"template":"","support_article_product":[106],"class_list":["post-9051","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000008543","source_version":1,"source_system":"salesforce","source_date_updated":"2026-10-23 11:50:15","import_hash":"c246c3b837f8f95d3a9c2200c9a1ad09e811e55e","vanilla_article_id":33440,"vanilla_url":"https:\/\/community.withsecure.com\/en\/kb\/articles\/33440-error-while-downloading-database-updates-with-fspm-definitions-update-tool-bat","vanilla_kb_id":30,"vanilla_category_id":103,"machine_translated":false,"reactions_helpful_yes":0,"reactions_helpful_no":0},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article\/9051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/media?parent=9051"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article_product?post=9051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}