Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Nellyb43
5 years agoHelpful | Level 6
Dropbox API Creating Shared link settings Error.
I have a program in Python 3.9 which cleans data every morning, creates a final dataset, and then uses the dropbox api to create a shared link with settings (password) for the file, then email that l...
- 5 years ago
Very interesting. Do you recommend I upload the file straight to dropbox using the API over using util to simply copy it over from my local directory?
I arbitrarily chose 60 seconds of time to give dropbox time to fully sync up the file in the application folder. Each file is on average 500MB. Do you recommend I go with a longer length of time just to make sure the sync works with sharing no matter what. One minute here and there is no issue.
Nellyb43
5 years agoHelpful | Level 6
Very interesting. Do you recommend I upload the file straight to dropbox using the API over using util to simply copy it over from my local directory?
I arbitrarily chose 60 seconds of time to give dropbox time to fully sync up the file in the application folder. Each file is on average 500MB. Do you recommend I go with a longer length of time just to make sure the sync works with sharing no matter what. One minute here and there is no issue.
Greg-DB
Dropbox Community Moderator
5 years agoYou can certainly use the API to upload files instead (files_upload for files smaller than 150 MB, or upload sessions otherwise). That would be helpful in that the code would directly know when the file is completely uploaded.
That's not strictly necessary though. You can use other functionality on the API to detect changes, e.g., to determine when the file is uploaded. Check out the Detecting Changes Guide for more information.
In any case, I wouldn't recommend just waiting some amount of time, as that could be unreliable.
- Nellyb435 years agoHelpful | Level 6
Thank you so much! I have changed my code to allow for uploading of the file from the api rather than just moving it into my file directory. The program is running smoothly now and with no hickups.
About 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!