<?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[Download file as chunks]]></title><description><![CDATA[<p dir="auto">So, I'm trying to download a file (a python script) from github as part of my game-project (in micropython). The problem is that I always run out of memory, and was wondering if there's a way to download it with minimal memory usage. I'd like to:<br />
-Not use custom libraries. (Use the ones that are flashed in default m5stack firmware)<br />
-Not run a separate python program to download the file</p>
<p dir="auto">urequests as chunk isn't implemented, subprocesses I think don't work either... so is there away? (short of splitting the file itself)</p>
<p dir="auto">Thanks!</p>
<p dir="auto">(using the m5stack base one without PSRAM)</p>
]]></description><link>https://community.m5stack.com/topic/920/download-file-as-chunks</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:37:18 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/920.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Apr 2019 11:18:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Download file as chunks on Tue, 23 Apr 2019 01:42:39 GMT]]></title><description><![CDATA[<p dir="auto">Black core, yes. I managed to do it by using <strong>the usocket library</strong> directly.</p>
]]></description><link>https://community.m5stack.com/post/3867</link><guid isPermaLink="true">https://community.m5stack.com/post/3867</guid><dc:creator><![CDATA[LastCaress]]></dc:creator><pubDate>Tue, 23 Apr 2019 01:42:39 GMT</pubDate></item><item><title><![CDATA[Reply to Download file as chunks on Thu, 18 Apr 2019 12:38:05 GMT]]></title><description><![CDATA[<p dir="auto">Can you split it into levels or zones<br />
The black core?</p>
<p dir="auto">Do you still get the same issue if the file is stored on an SDcard?<br />
Have you trying compression code tricks used in MP or plane python to reduce memory use?</p>
]]></description><link>https://community.m5stack.com/post/3855</link><guid isPermaLink="true">https://community.m5stack.com/post/3855</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 18 Apr 2019 12:38:05 GMT</pubDate></item><item><title><![CDATA[Reply to Download file as chunks on Thu, 18 Apr 2019 11:25:30 GMT]]></title><description><![CDATA[<p dir="auto">Maybe the only way is to ask m5stack engineers to add urllib.request to standard libs? :O</p>
]]></description><link>https://community.m5stack.com/post/3852</link><guid isPermaLink="true">https://community.m5stack.com/post/3852</guid><dc:creator><![CDATA[LastCaress]]></dc:creator><pubDate>Thu, 18 Apr 2019 11:25:30 GMT</pubDate></item></channel></rss>