<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Uploading large files from pythonanywhere webapp in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Uploading-large-files-from-pythonanywhere-webapp/m-p/481093#M1659</link>
    <description>&lt;P&gt;I'll be happy to try and help with this, but I could use some more information. Can you share:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the version number of Python you're using&lt;/LI&gt;
&lt;LI&gt;the version number of the Dropbox&amp;nbsp;Python library you're using&lt;/LI&gt;
&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s) (but don't include your access token)&lt;/LI&gt;
&lt;LI&gt;the full text of any error or unexpected output&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 21 Dec 2020 16:00:42 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-12-21T16:00:42Z</dc:date>
    <item>
      <title>Uploading large files from pythonanywhere webapp</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Uploading-large-files-from-pythonanywhere-webapp/m-p/480767#M1657</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the situation - I've got a simple little script that runs smoothly on my computer, and that I've recently ported over to pythonanywhere so as to use http-post functionality.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the sake of context, the flow is quite simple -&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get a Zoom-hook notification when a new recording is available, and the script then downloads the file, converts the m4a audio to mp3, uploads to dropbox, and sends a post-request to my site regarding the availability of a new dropbox audio-file. (Also some other stuff, but nevermind those).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The thing is, my upload keeps failing. This never happens when running on my laptop, but for some reason when running from pythonanywhere the session times-out, tries again, fails again, and eventually gives up after about 48 minutes of audio have been uploaded...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using upload-sessions, and the dropbox.Dropbox instance is being istantiated with 60*60*5 timeout, so that shouldn't be the issue... I've also tried things like reopening a new dropbox.Dropbox instance every 10 minutes of upload or so, and some other wierd stuff.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions would be very welcome indeed! I've got everything except this point running perfectly and I'm planning on upgrading to a payed dropbox plan this week, but I'd like to get this going properly first...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a buncharoonie!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 11:38:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Uploading-large-files-from-pythonanywhere-webapp/m-p/480767#M1657</guid>
      <dc:creator>autozoom3125</dc:creator>
      <dc:date>2020-12-22T11:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading large files from pythonanywhere webapp</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Uploading-large-files-from-pythonanywhere-webapp/m-p/481093#M1659</link>
      <description>&lt;P&gt;I'll be happy to try and help with this, but I could use some more information. Can you share:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the version number of Python you're using&lt;/LI&gt;
&lt;LI&gt;the version number of the Dropbox&amp;nbsp;Python library you're using&lt;/LI&gt;
&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s) (but don't include your access token)&lt;/LI&gt;
&lt;LI&gt;the full text of any error or unexpected output&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 21 Dec 2020 16:00:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Uploading-large-files-from-pythonanywhere-webapp/m-p/481093#M1659</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-12-21T16:00:42Z</dc:date>
    </item>
  </channel>
</rss>

