Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Orla_h's avatar
Orla_h
New member | Level 2
9 years ago

File size limit with save_url?

I'm using the DropboxClient.SaveUrl method. Is there any file size limit when Dropbox goes to upload the file from the location?

 

 

9 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    The SaveUrl functionality doesn't have a file size limit, but the download operations on the Dropbox servers do time out after 5 minutes. So, if it takes longer than 5 minutes to transfer the file from the URL to the Dropbox servers, the file won't be saved.
  • tristanlesaca's avatar
    tristanlesaca
    Explorer | Level 3
    9 years ago
    I'm using SaveUrl too to upload a 69 MB file but it is not uploaded to my Dropbox. It works when I'm uploading a smaller file
  • tristanlesaca's avatar
    tristanlesaca
    Explorer | Level 3
    9 years ago
    There is no error, the file just doesn't get uploaded to my Dropbox. Perhaps its because of the 5 min time out. Anyway, I used the files/upload endpoint instead of /save_url and it works with large files now. But hopefully there is a way to continue using /save_url with large files without the servers timing out. Or perhaps something similar to /upload_session using save_url.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    You should be able to use save_url. If you're not getting an error, what is being returned? It should be a job ID that you can check with save_url/check_job_status. Please share the result so we can look into it.

  • tristanlesaca's avatar
    tristanlesaca
    Explorer | Level 3
    9 years ago
    /save_url/check_job_status returns in_progress. And small files upload perfectly. But again, I think its the 5 minute time out that prevents the file from uploading.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    If you call /save_url/check_job_status again to check later (e.g., after at most 5 minutes) it should return either information about the successfully saved file, or an error message indicating the issue. Can you call again and check what you get?
  • zconq's avatar
    zconq
    Explorer | Level 3
    8 years ago

    I'm also having some download failures using the the save_url endpoint. (I'm checking job status after 5 seconds and they've already failed.) 

    {
      ".tag": "failed",
      "failed": {
        ".tag": "download_failed"
      }
    }

    In a batch of 6, between 0 and 3 will fail seemingly at random.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!